gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] thread fail


From: Gary E. Miller
Subject: [gpsd-dev] thread fail
Date: Thu, 29 Jan 2015 12:02:33 -0800

Yo All!

I may see why Hal is having thread crash problems.  I've been looking
at the pps_hook code and the protected section is not large enough.
In gpsd.c, in throttled_write(), the send() is protected by a lock, but
not its accompanied errno.

There might also be some other thread-unsafe ops in there.  I'll 
commit a patch for the first problem I see.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

[Prev in Thread] Current Thread [Next in Thread]