[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Realloc is blocking execution



* Mats Erik Andersson <mats.andersson@gisladisker.se> [091016 11:55]:
> 4. The main process WM receives SIGHUP, and enters a signal handler.
>    The signal handler uses two calls: free_menuitems(), get_menuitems().

If those calls call malloc or free or anything else this might be the
problem. Memory allocation functions are not reentrant and due to
threading support are easily blocking when used this way.

Hochachtungsvoll,
	Bernhard R. Link
-- 
"Never contain programs so few bugs, as when no debugging tools are available!"
	Niklaus Wirth


Reply to: