Is it acceptable to load multiple instances of user space HAL modules? e.g:
loadusr mymodule name=copy1
loadusr mymodule name=copy2

The other alternative is to make my module multi-threaded so I only need 
one instance:
loadusr mymodule names=copy1,copy2

The would have to be multi-threaded as it spends a lot of time waiting 
for USB, serial or network I/O. Currently the code is single-threaded 
and I am getting timing issues when I try to access more than one device.

My code is currently at the stage where  either method would be about 
the same amount of work to implement but the multi-threaded approach 
would be harder to test.

Les


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to