Menu

#2 common Api between win32 and posix

closed
nobody
None
5
2003-10-04
2001-03-28
rzr
No

- how comes that api are differents for the Thread class ?

i meant in Thread class :
void SignalThread (int signo)
isnt present in the Win32 , while NT should implement posix sigs :
using SetEvent / ResetEvent

thx for all anyway

Discussion

  • David Sugar

    David Sugar - 2001-04-05

    Logged In: YES
    user_id=217

    Actually I am thinking of taking signals out of the posix
    tree because they have differences between different posix
    targets. In particular, Linux doesn't impliment signals
    correctly per the posix spec for threads. But I agree there
    should be more things common between the different
    platforms. Recently the entire socket subsystem was merged
    between posix and win32, and it should be possible to do
    this with more things...

     
  • Frediano Ziglio

    Frediano Ziglio - 2001-09-29

    Logged In: YES
    user_id=75766

    Signal handling was separated from Thread class in a
    no-portable PosixThread class. There are still some
    differences with Suspend/Resume and cancellation.

     
  • Frediano Ziglio

    Frediano Ziglio - 2001-11-21

    Logged In: YES
    user_id=75766

    Suspend/Resume work now correctly. Unique difference is now
    cancellation... work in progress

     
  • David Sugar

    David Sugar - 2003-10-04
    • status: open --> closed
     

Log in to post a comment.