Dismiss
InnovationQ will be updated on Sunday, September 22, from 10am-noon ET. You may experience brief service interruptions during that time.
Browse Prior Art Database

Stub system to allow the calling of functions in other threads.

IP.com Disclosure Number: IPCOM000009153D
Publication Date: 2002-Aug-09
Document File: 2 page(s) / 1K

Publishing Venue

The IP.com Prior Art Database

Related People

Inventors:
Charles Samuels [+details]

Related Documents

URL:
http://www.derkarl.org/itc/ [+details]

Abstract

[ 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 ]