commit | 5b6937448e2190222b769a6def65f2723b8de973 | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Fri Feb 22 08:33:53 2008 +0000 |
committer | subrata_modak <subrata_modak> | Fri Feb 22 08:33:53 2008 +0000 |
tree | 621cca426d773b6e78b9a393f70b8831eb48ee07 | |
parent | ac5aaa63c440b3a450c8dde8b7701b8586ca1dc5 [diff] |
Since msgmni now scales to the memory size, it may reach big values. To avoid forking 2*msgmni processes and create msgmni msg queues, take the min between the procfs value and MSGMNI (as found in linux/msg.h). Also integrated the following in libipc.a: . get_max_msgqueues() . get_used_msgqueues() Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>