void tmTransactionService::SendMessage(tmTransaction *aTrans, PRBool aSync) { NS_ASSERTION(aTrans, "tmTransactionService::SendMessage called with null transaction"); IPC_SendMessage(0, kTransModuleID, aTrans->GetRawMessage(), aTrans->GetRawMessageLength()); if (aSync) IPC_WaitMessage(0, kTransModuleID, nsnull, PR_INTERVAL_NO_TIMEOUT); }
static void maincsm_oncreate(CSM_RAM *data) { static IPC_REQ ipc; IPC_SendMessage(&ipc, IPC_MY_NAME, IPC_MY_NAME, data->id, NULL); }