Content originally posted in LPCWare by Tsuneo on Tue Jul 16 03:35:30 MST 2013 This post is a comment to "lpcopen usblib rtos integration" http://www.lpcware.com/content/forum/lpcopen-usblib-rtos-integration Because of unknown reason, above thread doesn't accept any new comment.
There are problems on "shared resource", which should make trouble on RTOS, when your code accesses to endpoints from two or more threads.
Some old USB engines on LPC families have restriction on concurrent endpoints access. Also, LPCUSBLib (modified LUFA) in LPCOpen assigns unnecessary "shared variable" on the endpoint coding.