[openbeos] Re: threads (was: app_server: MMX/SSE help wanted)

  • From: "Matthijs Hollemans" <matthijs@xxxxxxxxxxxxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Tue, 10 Aug 2004 20:15:20 +0200

Scott Donaldson wrote:
> Thanks for such a quick reply, so what thread libary should I use?

You can also write your own thread wrapper. For example, you'd make your own
mythread_create() and mythread_join() functions, and then provide a
different implementation for the various platforms you want to use it on. On
*nix, you'd use pthreads, on BeOS you'd use the thread functions from the
kernel kit, on Windows you'd use the Win32 functions, etc.

-Matthijs


Other related posts: