Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#274 pthread_win32_process_attach_np went missing

open-accepted
nobody
header (101)
5
2012-03-01
2012-02-29
No

pthread_win32_process_attach_np was available in mingw32-pthreads but is no longer available after the upgrade to mingw32-winpthreads

Discussion

  • Kai Tietz
    Kai Tietz
    2012-03-01

    Hmm, it is related to alertable asynchrone thread-cancelation. Hmm, I think this routine is simply not necessary in winpthread.

    Could you try for your test to add

    BOOL pthread_win32_process_attach_np (void)
    {
    return TRUE;
    }

     
  • Kai Tietz
    Kai Tietz
    2012-03-01

    • status: open --> open-accepted
     
  • I'm only compile-testing this. Adding what you suggested works, though pthread_win32_process_detach_np is only missing (forgot to mention in the initial report :-/ )