Menu

Examples/documentation

Help
2001-01-22
2001-02-05
  • Jasper Spit

    Jasper Spit - 2001-01-22

    Hi,

    Are there any more examples or tutorials available for using Common C++ ??

    I looked at the demos in the demo directory, but I need some more info on using this lib, e.g. how can I make a thread respond to signals it receives ? OnSignal currently does not respond to any signal at all.

    Thanks !

    Jasper

     
    • David Sugar

      David Sugar - 2001-02-05

      OnSignal should receive signals in some thread context, and this is the problem; the behavior of signals is not always well defined (especially in the pthread like implimentations used GNU/Linux and the actual standard), and is also not portable to win32.  Rather than using signals, I think it would be better to use conditionals and other thread based objects to signal between threads.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.