[Wine] COM ports are not getting locked

aviator wineforum-user at winehq.org
Wed Oct 29 21:28:18 CDT 2008


I have an application(actually 4 apps) that uses 4 different serial devices. Each has been mapped properly and can be seen or used by the applications individually. However the apps do port enumeration to find the proper device to use. When a new device is enabled wine crashes HARD. The reason is wine is not locking a say com1 once it is in use and the new app starts scanning from com1 and can actually reopen the already in use port.This of course causes wine to lock up. This is super bad behavior. Does anyone have a suggestion for a work around to lock the port so it cannot be opened by another app?

And don't tell me this isn't a wine bug....it is.







More information about the wine-users mailing list