Multi-threading & Semaphores in signals
Posted: Jan 07 2014
For the sake of software piracy protection, I have a single resource that must be accessed by multiple signals that in the MC environment could be different threads. The way a shared resource is protected in C# is by the use of semaphores. The question I have is if anyone has used semaphores in MC signals or if MC has any documents that might explain their use? I understand this is an expert programming question that goes beyond normal tech support. I am just asking for any pointers there may be on the subject, or other users with such experience?
To be clearer, I am not looking for generic software info on semaphores in C#, which can be found on the net, but anything to watch for in MC with regard to them. For example, usually you create the semaphore and then create threads that use a common semaphore. Being that we are not creating the threads, we don't have that level of visibility. So is it even possible to use semaphores?
To be clearer, I am not looking for generic software info on semaphores in C#, which can be found on the net, but anything to watch for in MC with regard to them. For example, usually you create the semaphore and then create threads that use a common semaphore. Being that we are not creating the threads, we don't have that level of visibility. So is it even possible to use semaphores?