PEG lwsem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PEG lwsem

787件の閲覧回数
Andrey
Contributor III

I have PEG (PegTaskMain) blocking the execution of my RX task with a lwsemaphore for up to a minute. All I am doing is just passing a PegMessage via Peg's MessageQueue. It resumes and starts working again, but the blocking is painful.

The is what I call from my RX (MODE) task:

  PegMessage msg = PegMessage();

  msg.Type = MSGTYPE_QUICKCARD_UPDATE;

  msg.pTarget = pGUIBridgeWin; 

  msg.Param = j;

  msg.pData = buff;

 

  statuswindow::MessageQueue()->Fold(&msg);

// Push works with Same results.

0 件の賞賛
返信
0 返答(返信)