Re: [Python-Dev] fun threading problem

2006-09-14 Thread Neal Norwitz
On 9/14/06, Aahz <[EMAIL PROTECTED]> wrote: > On Thu, Sep 14, 2006, Neal Norwitz wrote: > > > > On everyones favorite platform (HP-UX), the following code > > consistently fails: > > Which exact HP-UX? I remember from my ancient days that each HP-UX > version completely changes the way threading w

Re: [Python-Dev] fun threading problem

2006-09-14 Thread Aahz
On Thu, Sep 14, 2006, Neal Norwitz wrote: > > On everyones favorite platform (HP-UX), the following code > consistently fails: Which exact HP-UX? I remember from my ancient days that each HP-UX version completely changes the way threading works -- dunno whether that's still true. -- Aahz ([EMAIL

[Python-Dev] fun threading problem

2006-09-14 Thread Neal Norwitz
On everyones favorite platform (HP-UX), the following code consistently fails: ### from thread import start_new_thread, allocate_lock from time import sleep def bootstrap(): from os import fork ; fork() allocate_lock().acquire() start_new_thread(bootstrap, ()) sleep(.1) ### The error is