Re: [gamin] gamin abstract socket bind() probem



On Tue, 2004-08-03 at 03:21, Daniel Veillard wrote:
>   Strange, this might be due to threading, because otherwise the socket
> creation is a system call and atomicity of the operation is garanteed
> by the kernel. I didn't yet tried to debug the gamin problem with 
> gnome-session, I will try today. Did you use gamin CVS checkout ? I fixed
> a couple or bugs yesterday.


I don't think I am using threading. What happens is gnome-session starts
up a bunch of apps all at the same time. So each app that needs fam,
starts up the gam_server. After this it's a race for the multiple
instances of gam_server to get the abstract socket first. whichever
instance gets the socket succeeds and the other instances fail (Which
then causes gnome-settings-daemon to crash).

I think I am using latest CVS, but I will try again tonight.

John 



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