Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_ipc_container_001.cpp82 mqd_t mqueueParent; in ItIpcContainer001() local
95 mqueueParent = mq_open(mqname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR, NULL); in ItIpcContainer001()
96 MQueueFinalizer mQueueFinalizer(mqueueParent, mqname); in ItIpcContainer001()
98 ASSERT_NE(mqueueParent, (mqd_t)-1); in ItIpcContainer001()
101 ret = mq_getattr(mqueueParent, &attr); in ItIpcContainer001()
105 ret = mq_setattr(mqueueParent, &attr, NULL); in ItIpcContainer001()
108 ret = mq_getattr(mqueueParent, &attr); in ItIpcContainer001()
111 ret = mq_send(mqueueParent, msgptr, strlen(msgptr), 0); in ItIpcContainer001()
126 ret = mq_receive(mqueueParent, msgrcd, MQUEUE_STANDARD_NAME_LENGTH, NULL); in ItIpcContainer001()
/kernel/liteos_a/testsuites/unittest/container/
DIt_container_test.h114 explicit MQueueFinalizer(mqd_t mqueueParent, const std::string& mqname) in MQueueFinalizer() argument
116 m_mqueueParent = mqueueParent; in MQueueFinalizer()