一个好的例子是,通过从一个适当大的随机数池中随机分配数字,使得猜测进程标识符极为困难。
A good example is to make it extremely difficult to guess process identifiers by randomly allocating Numbers from a reasonable large random number pool.
key是一个惟一的标识符,不同的进程使用它来标识这个信号量集。
The key is a unique identifier that is used by different processes to identify this semaphore set.
应用推荐