ä¸å¿ select(2) ãèªãã§ãã£ãã®ã§èª¬æãã¨ãã ã¡ã¤ã³ã«ã¼ãã¯é常ã«çãã®ã§æç²ãããã«ã¯ããããããã®è»¢éå¦çã¯å«ã¾ãã¦ããªãã®ã§æ³¨æãmax_select_fd() ã®åå¾ã rcu_read_lock() 㨠rcu_read_unlock() ã§å²ã¾ãã¦ããã®ã¯ãããã¥ã¡ã³ã (Documentation/filesystems/files.txt) ã«ãã㨠2.6.12 ãã RCU ããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãã¼ãã«ã§å©ç¨ããããã«ãªã£ãããã以åã¯åãªãããã¯ã ã£ãã int do_select(int n, fd_set_bits *fds, s64 *timeout) { struct poll_wqueues table; poll_table *wait; int retval, i; rcu_read_lock(); retval = max_select
{{#tags}}- {{label}}
{{/tags}}