annotate parser-mpcmd.h @ 24131:30028bbcb9e8

Use a single select() for both key and slave input Previous code used two separate select() calls one after another, so that whenever it was running select() on one set of fds events in the other set would go unnoticed until later. Now there's a single select() which allows reacting immediately to any input source. The behavior of the new code differs somewhat from the old; for example multiple fds that stay readable are no longer handled in a round-robin fashion and the total amount the process sleeps can differ. Some tuning might be required later.
author uau
date Sat, 25 Aug 2007 04:28:11 +0000
parents 5385740067a1
children d88f5f82826e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
1 #ifndef _parser_mpcmd_h
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
2 #define _parser_mpcmd_h
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
3
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
4 extern play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv);
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
5
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
6 #endif