I had thought about that. It is certainly the easiest solution but I don't think the jRDC2 server can have a global variable (defined in Process_Globals) that can be modified by a thread. In other programming languages that use threads, the thread has to perform a semaphore lock on the main thread so it can modify a global variable that is stored on the main thread.