ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Dec/multithreaded-applications

This is multithreaded-applications in view mode; [Up]


Date: Sun 14-Dec-1989 00:26:54 From: Unknown Subject: multithreaded applications Someone wanted to know about multithreaded applications a while back so... One way that I found to deal with interactions between the threads and the Application itself is to define a set of events that the threads will use to communicate with the Application (see NX_APPDEFINED, and can inform the Application of things it should do via the event loop. This gets around the problem of having the thread hang/crash the event loop or botch up the display. If anyone is interested I have a simple piece of code which demonstrates queuing up application defined events from a thread. Hope this helps someone out there. I wish I had thought of this soln sooner, but...

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.