You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void*message); // Sends a message to the specified queue.
36
-
uint8_t
37
-
queue_receive(queue_t*queue,
38
-
void*message); // Receives a message from the specified queue
38
+
39
+
/**
40
+
* @brief Adds a message to the back of a ThreadX queue.
41
+
*
42
+
* @param queue Pointer to queue to add to.
43
+
* @param message Pointer to the message to add. The size of the message should match the queue's 'message_size' setting.
44
+
* @param wait_time The amount of time (in ticks) to wait before timing out. Can either be 'TX_NO_WAIT', 'TX_WAIT_FOREVER', or a numeric value of ticks.
* @brief Removes the frontmost message in a ThreadX queue, and places it in a buffer provided in the 'message' parameter.
50
+
*
51
+
* @param queue Pointer to queue to get from.
52
+
* @param message Pointer to a buffer to store the removed message. The size of the buffer should match the queue's 'message_size' setting.
53
+
* @param wait_time The amount of time (in ticks) to wait before timing out. Can either be 'TX_NO_WAIT', 'TX_WAIT_FOREVER', or a numeric value of ticks.
0 commit comments