>>>>> "Sasha" == Sasha Pachev <sasha@stripped> writes:
Sasha> On Tuesday 23 January 2001 15:02, Jørgen Nørgaard wrote:
>> At 7:56 -0700 22/1/01, Sasha Pachev wrote:
>>> On Sunday 21 January 2001 13:59, Jørgen Nørgaard wrote:
>>>> I'm trying to have mySQL run on Mac OS X (PB) but encountered some
>>>> problems with threading when shutting down the server.
>>>> So I would like to get in contact with developers on Darwin as this
>>>> is supposedly the base shared with Mac SO X (to some extent).
>>> You are headed in the right direction... To demonstrate the problem, start
>>> running ./test_thr_alarm in mysys - if it hangs, you've got a test case.
>> Thanks for the hint, got a little further (with 3.23.31). Running the
>> test with -#d gives the result below.
>> The program hangs after "Thread: T@4 Waiting 10 sec".
>> Does this mean something to you Sasha?
Sasha> To me it means that either pthread_kill() does not deliver the signal, or
Sasha> SIGALRM send to a thread does not interrupt select() or probably any other
Sasha> system call. Can you write a simple program that will test each possibility?
Sasha> Monty, do you have anything to add?
No; If this happens, you need to get hold of the developer that has
access and knowledge about the pthread library source to get this
I will mail one of my contacts at Apple about this at once!