• MorphOS Developer
    Piru
    Posts: 542 from 2003/2/24
    From: finland, the l...
    I've managed to add this option now and it likely will be included in the future SDK releases.

    However, unlike with other platforms -pthread will not automagically make the compilation to pick multithreading-safe libc functions (while some functions are thread safe, others are not). So depending on what the application assumes about multithreading safety, bad things might happen.

    Basically it just links the application with -lpthread.

    This is far from perfect.
  • »19.09.21 - 01:11
    Profile