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:
Gregory Nutt
2020-05-17 07:56:21 -06:00
committed by Alan Carvalho de Assis
parent d938b50969
commit a569006fd8
192 changed files with 288 additions and 288 deletions
+1 -1
View File
@@ -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)