2009/4/10 yihect <yihect@xxxxxxx>: > Hi, all: > Im my device, there are many registers resider in several banks, these > registers are all Banks?? What is meant by that? Can you explain? > accessed by one IOCTL cmd in my driver. And there are 2 or 3 tasks will > access these registers simultaneously in app layer. > > So, my question is: Is there some common model to do this kind of > concurrent control? Is there some sample as reference? Use mutexes if your user space app can tolerate to block. HTH Thanks, > Any suggestion will be welcome also. > -- Pradeep -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ