Removed Mutex liberation on CanSend. Too much race condition to avoid. Cannot be deeply tested.
--- a/drivers/unix/unix.c Thu Apr 12 16:20:22 2007 +0200
+++ b/drivers/unix/unix.c Thu Apr 12 16:36:31 2007 +0200
@@ -121,9 +121,9 @@
{
if(port){
UNS8 res;
- LeaveMutex();
+ //LeaveMutex();
res = DLL_CALL(canSend)(((CANPort*)port)->fd, m);
- EnterMutex();
+ //EnterMutex();
return res;
}
return -1;