Poul-Henning Kamp d9a54d5c23 Reengineer subr_unit
Add support for passing in a mutex.  If NULL is passed a global
	subr_unit mutex is used.

	Add alloc_unrl() which expects the mutex to be held.

	Allocating a unit will never sleep as it does not need to allocate
	memory.

	Cut possible range in half so we can use -1 to mean "out of number".

	Collapse first and last runs into the head by means of counters.
	This saves memory in the common case(s).
2005-03-08 10:40:48 +00:00
..
2004-06-17 17:16:53 +00:00
2004-05-20 15:09:41 +00:00
2005-02-10 12:17:48 +00:00
2005-03-08 10:40:03 +00:00
2005-01-07 19:31:43 +00:00
2005-02-10 20:39:39 +00:00
2005-02-10 12:20:42 +00:00
2004-07-13 19:36:59 +00:00
2004-06-11 11:43:46 +00:00
2004-06-17 17:16:53 +00:00
2005-03-01 17:44:34 +00:00
2005-03-01 17:44:34 +00:00
2005-03-01 17:44:34 +00:00
2005-03-01 17:44:34 +00:00
2005-03-08 10:40:48 +00:00
2005-01-07 02:28:28 +00:00
2004-06-25 21:54:49 +00:00
2004-06-08 10:37:30 +00:00