Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,
I am new to brew development and currently trying to port a J2me application on to brew.
As part of this application,I have a typical "Consumer-Producer" problem which can be solved using wait() and notify() in J2ME.
Similarly,i have two threads(one for Producer and another for Consumer)....But since i dont have a wait() or notify() or any Semaphores in Brew,am stuck on how to solve this problem....Does Brew provide any other mechanism to solve such problems....

See "thrdutil" shipped with Brew SDK (Program Files\BREW 3.1.5\sdk\src\thrdutil). It has implementation for wait, mutex, signal etc...

See "thrdutil" shipped with Brew SDK (Program Files\BREW 3.1.5\sdk\src\thrdutil). It has implementation for wait, mutex, signal etc...