Re: Threads......
- Posted by Jeffrey Fielding <jjprog at earthlink.net> Jul 05, 2001
- 406 views
But Euphoria is non-reentrant... I tried writing a thread library for Euphoria on linux. call_back worked okay for interfacing with pthreads, but since Euphoria is non-reentrant, the program didn't work very well. Jeff ----- Original Message ----- From: <euman at bellsouth.net> To: "EUforum" <EUforum at topica.com> Subject: Threads...... > > > Threads are impossible for me useing strictly Euphoria. > > -- start threads > hThread1 = call_back(routine_id("Thread1")) > hThread2 = call_back(routine_id("Thread2")) > > hThread1 = c_func(xCreateThread,{NULL, NULL, hThread1, NULL, > NORMAL_PRIORITY_CLASS, thread1}) > hThread2 = c_func(xCreateThread,{NULL, NULL, hThread2, NULL, > NORMAL_PRIORITY_CLASS, thread2}) > > The call_back address is not a *real* proc address > > I will have to create a .dll for use, useing Masm32 or Borlands C++. > I need to learn a few things to do this so no-one hold their breathe. > > Something like this would be more valuable than namespace > in my opinion. > > Later, > > Euman > euman at bellsouth.net > > > > > >