mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +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
+1
-1
@@ -426,7 +426,7 @@ int nx_poll(FAR struct pollfd *fds, unsigned int nfds, int timeout)
|
||||
*/
|
||||
|
||||
nxsem_init(&sem, 0, 0);
|
||||
nxsem_setprotocol(&sem, SEM_PRIO_NONE);
|
||||
nxsem_set_protocol(&sem, SEM_PRIO_NONE);
|
||||
|
||||
ret = poll_setup(fds, nfds, &sem);
|
||||
if (ret >= 0)
|
||||
|
||||
Reference in New Issue
Block a user