#109 objc_condition_allocate returns NULL.

Instruction_given
closed
nobody
MinGW (23)
5
2008-03-03
2008-03-01
No

I cannot get a valid objc condition because objc_condition_allocate always returns NULL. This is due to the fact that __objc_condition_allocate always returns -1. Beyond that, I don't know why.

To reproduce:

1. link against libobjc.
2. make a call to objc_condition_allocate.
3. verify that the result is NULL.

This is occurring for me on 64-bit Vista, gcc 4.2.1-sjlj-2 but maybe occurs elsewhere?

Discussion

  • Danny Smith

    Danny Smith - 2008-03-01

    Logged In: YES
    user_id=11494
    Originator: NO

    The POSIX condition mutex functions are not implemented for Win32 threads. If you really need, you must get pthreads-win32 package and rebuild gcc to use Posix threads (add --enable-threads=posix to cinfigure)

    Danny

     
  • Earnie Boyd

    Earnie Boyd - 2008-03-03

    Logged In: YES
    user_id=15438
    Originator: NO

    This then becomes a support request.

     
  • Earnie Boyd

    Earnie Boyd - 2008-03-03
    • labels: 103944 -->
     
  • Earnie Boyd

    Earnie Boyd - 2008-03-03
    • labels: --> MinGW
    • milestone: --> Instruction_given
    • status: open --> closed
     
  • Earnie Boyd

    Earnie Boyd - 2008-03-03

    Logged In: YES
    user_id=15438
    Originator: NO

    Charles, Danny has given you instruction. If you need further assistance please feel free to reopen this issue.

     
  • Charles McGarvey

    Logged In: YES
    user_id=2019715
    Originator: YES

    Interesting. Thanks for the info!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks