[Vortex] Vortex_mutex issue under Linux?
Daniele Ricci
denn86 at hotmail.com
Mon Jun 1 15:02:17 CEST 2009
Hi everyone,
this is my problem: it seems the vortex_mutex lock/unlock mechanism works well under Windows,
but not under Linux.
More deeply, this is my situation:
- a listener that dynamically loads/modifies/deletes some data into datastructs;
it implements a frame_received callback making an internal call to a function that reads from
the datastructs, sending the results to the initializer/client.
Our dev. group uses vortex_mutex_lock/unlock method to protect the access to that datastruct,
so every time a callback to frame_received() starts while the main process is
loading/modifying/deleting data, the mutex should stop the new thread right before it begins to read
the structs.
Actually, under Linux, it seems the mutex lock inhibits only vortex functions to work (ex: "send_ans") and not the
whole piece of code. The same thing does not happen under Windows.
- The following are the libraries we are using:
WIN Server 2003:
vortex-1.0.16 (vortex installer) -> Visual Studio 2005
LINUX debian 2.6.26-2-686:
vortex-1.0.17.b3739.g3739 (tar.gz) -> gcc 4.3.2-1.1
I wonder if there's any explicit option to tell gcc to use vortex mutex in the right way:
now i'm using the following:
gcc 'xml2-config --cflags --libs' 'pkg-config --cflags --libs vortex' -lrt
Thanks in advance for your replies,
Daniele Ricci
_________________________________________________________________
Resta in contatto con gli amici, comunica con Messenger!
http://messenger.it/cominciaAcomunicare.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aspl.es/pipermail/vortex/attachments/20090601/75934a74/attachment.htm
More information about the Vortex
mailing list