<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.hmmessage P
{margin:0px;padding:0px;}
body.hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Hi everyone,<br>this is my problem: it seems the vortex_mutex lock/unlock mechanism works well under Windows,<br>but not under Linux. <br>More deeply, this is my situation:<br><br>- a listener that dynamically loads/modifies/deletes some data into datastructs; <br> it implements a frame_received callback making an internal call to a function that reads from <br> the datastructs, sending the results to the initializer/client.<br> Our dev. group uses vortex_mutex_lock/unlock method to protect the access to that datastruct,<br> so every time a callback to frame_received() starts while the main process is <br> loading/modifying/deleting data, the mutex should stop the new thread right before it begins to read<br> the structs.<br> Actually, under Linux, it seems the mutex lock inhibits only vortex functions to work (ex: "send_ans") and not the<br> whole piece of code. The same thing does not happen under Windows. <br><br>- The following are the libraries we are using:<br> <br> WIN Server 2003:<br> vortex-1.0.16 (vortex installer) -> Visual Studio 2005<br> LINUX debian 2.6.26-2-686:<br> vortex-1.0.17.b3739.g3739 (tar.gz) -> gcc 4.3.2-1.1<br><br>I wonder if there's any explicit option to tell gcc to use vortex mutex in the right way:<br>now i'm using the following:<br><br> gcc 'xml2-config --cflags --libs' 'pkg-config --cflags --libs vortex' -lrt <br><br>Thanks in advance for your replies,<br>Daniele Ricci<br><br /><hr />Cerchi i tuoi spazi? Hotmail va oltre i 5GB. <a href='http://messenger.it/hotmail.aspx' target='_new'>Scopri perché!</a></body>
</html>