diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-12-06 06:51:54 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-12-06 06:51:54 +0000 |
commit | f5ec11f4e2fd45c70a61e0bab18a0c4495278b07 (patch) | |
tree | 7f7d97f9b1626c34b924badb4a12eb4c86d9d1aa /libgps.xml | |
parent | 5ed1579a91e54405d9ba96276ddff21f96cd5e94 (diff) | |
download | gpsd-f5ec11f4e2fd45c70a61e0bab18a0c4495278b07.tar.gz |
Eliminate threading from gpsfake.py.
The TestSession class now schedules events itself. As a bonus, the new
code is simpler and doesn't require system-dependent primitives that
have to be implemented with /proc or fuser.
There actually still is a threaded mode, untested, for use with
valgrind-audit. But gpsfake doesn't need it.
Diffstat (limited to 'libgps.xml')
-rw-r--r-- | libgps.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -134,7 +134,7 @@ structure containing parsed data, and a buffer containining the raw <application>gpsd</application> response.</para> <para><function>gps_set_callback()</function> takes a function you -specify and run it asynchronously each time new data arrives from +specify and runs it asynchronously each time new data arrives from <application>gpsd</application>, using POSIX threads. For example, you can call gps_set_callback(gpsdata, my_function, handler) once in your program, and from there on your gpsdata structure will be parsed @@ -146,7 +146,7 @@ mechanisms to avoid race conditions.</para> <para><function>gps_del_callback()</function> deregisters the callback function previously set with <function>gps_set_callback()</function>. -After the invocation of this funcion no operation will be done when +After the invocation of this function no operation will be done when new data arrives.</para> <para>Consult <filename>gps.h</filename> to learn more about the data members |