Stub system to allow the calling of functions in other threads.
Publication Date: 2002-Aug-09
The IP.com Prior Art Database
[ IPCOM000000011S originally published 2001-08-09 17:52 UTC ] This stub system parses a C++ source file (or, any file with a "class" declaration), at compile-time to create a series of (C++) functions that, through a series of mutexes and condition variables, are able to signal a second thread into accepting the function call. The second thread can then call a function that checks a message queue for new input, and calls the given function. The first thread is able to block with a condition variable set, but optionally, functions can be declared as asynchronous by prefixing it with async (#define async void). This procedure is able to produce an easy system of calling second threads, or RTPC (Remote-Thread Procedure call). [ 000000011S 11S ]