20 Apr 2000 Erbo   » (Journeyer)

ARGH! ARGH! ARGH! ARGH! AAAAAAAARRRRRRRGGGGGHHHHHH!!!!

Important information for everyone that uses the GNU Pth library, and has just upgraded from 1.2.x to 1.3.x, and whose code uses PTH_EVENT_FUNC event types: There is now a third parameter for that event type, which is a pth_time() value telling the scheduler how frequently to call the function (such as pth_time(0,100000) for 10 times/second). Omit it and your code may die in subtle and frightening ways when you least expect it. Since I just spent most of the day groveling through the inner workings of the scheduler to discover this fact, I thought I'd share it with everybody, in the hopes that nobody else will have to go through this agony.

And I haven't even mahaged to fix the problem I was working on yesterday: midway through the afternoon, I had to drop everything and go take Pamela to the ER because she'd had one of her migraines. Now I wonder if I'm going to get anywhere close to done on that one before I have to leave...

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!