atom feed10 messages in org.freebsd.freebsd-threadsMore mono + libpthread breakage..
FromSent OnAttachments
John BaldwinNov 2, 2004 1:11 pm 
Ivan VorasNov 3, 2004 4:04 am 
Mike MakonnenNov 3, 2004 6:20 am 
Daniel EischenNov 3, 2004 7:23 am 
Mike MakonnenNov 3, 2004 7:54 am 
Daniel EischenNov 3, 2004 8:11 am 
Mike MakonnenNov 3, 2004 8:16 am 
David XuNov 3, 2004 5:33 pm 
Ivan VorasNov 4, 2004 4:00 am 
John BaldwinNov 4, 2004 2:24 pm 
Subject:More mono + libpthread breakage..
From:Mike Makonnen (mt@identd.net)
Date:Nov 3, 2004 6:20:43 am
List:org.freebsd.freebsd-threads

On Tue, Nov 02, 2004 at 05:12:11PM -0500, John Baldwin wrote:

This kicks in with mono because mono wants to call 'sem_post()' (which is supposed to be signal safe) from a signal handler, but sem_post() calls pthread_mutex_lock() which dies with an assertion error about already being on a syncq since _cond_wait_backout() didn't happen.

Then the correct fix is for sem_post to disable signals around calls to pthread functions. There are *no* async-signal safe pthread functions.

Cheers.