New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=dcf2a2b7089fd02105f68bba5da3130c1d72f42c
commit dcf2a2b7089fd02105f68bba5da3130c1d72f42c
Author: Claudio Ciccani <[EMAIL PROTECTED]>
Date: Fri Jun 29 14:48:28 2007 +0200
Added a new Fusion/IPC implementation using standard system calls:
- Skirmish gets implemented by using sched_yield()+usleep, exactly like
linuxthreads does with pthread mutexes,
but it's also capable of automatically unlocking whether the owner
process died without doing it.
- Property works like Skirmish, but it doesn't sleep and it doesn't check
for a dead owner.
- Dispatching and co. make use of raw unix sockets: there is a local
address specific to each fusionee
(/tmp/[EMAIL PROTECTED]@/@HEX_FUSION_ID@) and each call (/tmp/[EMAIL
PROTECTED]@/[EMAIL PROTECTED]@[EMAIL PROTECTED]@),
and messages are sent directly from the generator to the socket of the
listeners.
From a network point of view, this is similar to UDP Multicast (e.g.
conference or meeting).
The new implementation gets build when --enable-bulti is specified but no
usable linux/fusion.h was found
(however you can edit fusion/build.h to force building it).
configure.in | 16 +-
lib/fusion/Makefile.am | 1 +
lib/fusion/build.h.in | 1 +
lib/fusion/call.c | 211 ++++++-
lib/fusion/call.h | 2 +-
lib/fusion/fusion.c | 1430 ++++++++++++++++++++++++++++++++++++------
lib/fusion/fusion_internal.h | 52 ++-
lib/fusion/lock.c | 223 +++++++-
lib/fusion/lock.h | 10 +-
lib/fusion/object.c | 5 +
lib/fusion/property.c | 160 +++++-
lib/fusion/property.h | 9 +-
lib/fusion/protocol.h | 109 ++++
lib/fusion/reactor.c | 888 ++++++++++++++++++++-------
lib/fusion/ref.c | 251 ++++++++-
lib/fusion/ref.h | 12 +-
lib/fusion/shm/heap.c | 18 +-
lib/fusion/shm/pool.c | 214 +++++++-
lib/fusion/types.h | 2 +-
19 files changed, 3161 insertions(+), 453 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=21bb8adc7377b8a5be57e9e1a092513ed8cb0da6
commit 21bb8adc7377b8a5be57e9e1a092513ed8cb0da6
Author: Claudio Ciccani <[EMAIL PROTECTED]>
Date: Fri Jun 29 14:31:18 2007 +0200
Open log file with mode 0664.
Automatically flush stderr.
lib/direct/log.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=90a53ee2da89805844cd364c52379089d16acc80
commit 90a53ee2da89805844cd364c52379089d16acc80
Author: Claudio Ciccani <[EMAIL PROTECTED]>
Date: Fri Jun 29 14:30:00 2007 +0200
Added direct_sched_yield().
lib/direct/util.h | 28 ++++++++++++++++++++++++----
1 files changed, 24 insertions(+), 4 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs