On Sat, 2006-08-12 at 16:29 +1000, skaller wrote:
> At present, an exception could be thrown in a pthread and
> fail to be caught, in which case, behaviour is undefined.

There's one issue here: the return value. Windows returns
an int, whereas Posix returns a void*.

For Felix threads, this is nonsense. We have better ways
to return data from a thread (channels), and all our threads are
detached anyhow.

So I propose Felix thread start routines all be:

        void (*)(void*)

since now, this routine is called from a wrapper,
and the LPSTART_THREAD_PROC crud is all hidden.


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to