Home
last modified time | relevance | path

Searched refs:mqnotify (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/compat/posix/src/
Dmqueue.c744 struct mqnotify *mqnotify = &mqueueCB->mq_notify; in MqSendNotify() local
746 if ((mqnotify->pid) && (mqueueCB->mqcb->readWriteableCnt[OS_QUEUE_READ] == 0)) { in MqSendNotify()
749 switch (mqnotify->notify.sigev_notify) { in MqSendNotify()
753 info.si_signo = mqnotify->notify.sigev_signo; in MqSendNotify()
755 info.si_value = mqnotify->notify.sigev_value; in MqSendNotify()
756 OsDispatch(mqnotify->pid, &info, OS_USER_KILL_PERMISSION); in MqSendNotify()
763 mqnotify->pid = 0; in MqSendNotify()
912 struct mqnotify *mqnotify = NULL; in OsMqNotify() local
931 mqnotify = &mqueueCB->mq_notify; in OsMqNotify()
934 if (mqnotify->pid == LOS_GetCurrProcessID()) { in OsMqNotify()
[all …]
/kernel/liteos_a/compat/posix/include/
Dmqueue.h88 struct mqnotify { struct
102 struct mqnotify mq_notify; argument