[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] What does kqueue means?
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] What does kqueue means? |
Date: |
Fri, 26 Jan 2018 08:29:13 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 1/25/18 5:42 PM, Jorge wrote:
> I'm trying to understand what the word kqueue means to understand the
> option -k from ulimit, which says:
>
>> The maximum number of kqueues that may be allocate
`kqueue' is a BSD kernel event notification mechanism. You allocate a
kqueue with the kqueue(2) system call, it returns a file descriptor,
and you receive notifications of events in which you indicate interest
via that descriptor. The events are placed on a queue associated with the
descriptor and you can retrieve them one at a time, hence the `kqueue'
name.
The resource limit controls the number of queues you can create.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/