mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
sched/: Make more naming consistent
Rename various functions per the quidelines of https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+OS+Internal+Functions nxsem_setprotocol -> nxsem_set_protocol nxsem_getprotocol -> nxsem_get_protocol nxsem_getvalue -> nxsem_get_value
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
d938b50969
commit
a569006fd8
@@ -1012,7 +1012,7 @@ static int telnet_session(FAR struct telnet_session_s *session)
|
||||
* priority inheritance.
|
||||
*/
|
||||
|
||||
nxsem_setprotocol(&priv->td_iosem, SEM_PRIO_NONE);
|
||||
nxsem_set_protocol(&priv->td_iosem, SEM_PRIO_NONE);
|
||||
|
||||
priv->td_state = STATE_NORMAL;
|
||||
priv->td_crefs = 0;
|
||||
@@ -1112,7 +1112,7 @@ static int telnet_session(FAR struct telnet_session_s *session)
|
||||
* priority inheritance.
|
||||
*/
|
||||
|
||||
nxsem_setprotocol(&g_iosem, SEM_PRIO_NONE);
|
||||
nxsem_set_protocol(&g_iosem, SEM_PRIO_NONE);
|
||||
|
||||
/* Start the I/O thread */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user