|
Message-ID: <20110812024151.GF132@brightrain.aerifal.cx> Date: Thu, 11 Aug 2011 22:41:51 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: cluts daily reports 8/12 - continuing pthread_eintr, still stuck with alloc On Fri, Aug 12, 2011 at 04:45:58AM +0200, Luka Marčetić wrote: > Hey. > As I've explained in the recent e-mail to Alexander, I couldn't get > alloc.c to work with musl, so I switched to pthread_eintr, but ran > into a problem there too. So we're on the same page, is the latest version in git what you're looking at? I'll take a look.. > Rich, help me out please with the question from IRC: What's up with > the line from pthread_eintr.c looking like this: > pthread_cleanup_push(child_wait_vp, NULL); > Both musl and glibc macros generate invalid code for this one, it > ends with `do {;` in both cases iirc. Strange - what is it? > Thank you, > Luka You might want to read this: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_cleanup_pop.html There's even a sample implementation in the rationale. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.