Re: [Cppcms-users] reloading skins
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-02-23 15:15:27
|
> Is there any way, that the reload thing will be "signal safe"? > I don't see any reason why not. > But thanks for your reply and the review. > (oh, "your code is wrong" sound so hard ): ) > Read this: http://linux.die.net/man/7/signal Section: "Async signal safe functions" You can't call dlclose, dlopen or mutex locks from the signal handler, and this is what you do. Artyom |