> its not a good idea to call syslog() in a note handler, because it > aquires locks > and calls into the memory allocator by strdup() (that too aquires locks). > > if the note interrupts the program while in syslog() or the allocator, > it will deadlock.
excellent point. in this case, i think it is more likely that the problem is more mundane than that. in any event, we are chewing gobs of cpu time, so we don't have a literal deadlock. - erik