replace in clixon_event_loop select to poll
This commit is contained in:
parent
233a2f762f
commit
aa617fd677
2 changed files with 78 additions and 0 deletions
|
|
@ -470,6 +470,14 @@ AC_ARG_ENABLE([event-poll],
|
|||
fi]
|
||||
)
|
||||
|
||||
AC_ARG_WITH([max-events],
|
||||
AS_HELP_STRING([--with-max-events=VALUE], [Set the maximum number of events (default: 1024)]),
|
||||
[MAX_EVENTS=$withval],
|
||||
[MAX_EVENTS=1024] # Значение по умолчанию, если не указано
|
||||
)
|
||||
|
||||
AC_DEFINE_UNQUOTED([MAX_EVENTS], [$MAX_EVENTS], [Maximum number of events])
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
lib/Makefile
|
||||
lib/src/Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue