Open mackendw opened 2 years ago
I have a yad dialog setup as a notebook. The notebook has 2 yad lists in it. I create the key used to join the 2 lists to the notebook using:
key=$RANDOM %100000 + 1 | bc
$RANDOM %100000 + 1 | bc
this key is then used in each list and the notebook to make the connection.
When the user is presented with the notebook and clicks the button to exit, I'm seeing the shared memory key persist in the system after it is closed.
Is this a bug?
Also, the application in use on the servers where this dialog is run use a LOT of shared memory, message queue and semaphores.
How can I ensure that I'm not using a shmkey value that is not already in use?
is the cleanup of the shared memory segment a task that MUST be done using ipcrm outside the dialog?
I have a yad dialog setup as a notebook. The notebook has 2 yad lists in it. I create the key used to join the 2 lists to the notebook using:
key=
$RANDOM %100000 + 1 | bc
this key is then used in each list and the notebook to make the connection.
When the user is presented with the notebook and clicks the button to exit, I'm seeing the shared memory key persist in the system after it is closed.
Is this a bug?
Also, the application in use on the servers where this dialog is run use a LOT of shared memory, message queue and semaphores.
How can I ensure that I'm not using a shmkey value that is not already in use?