dictReleaseLock(3) util/dict.h dictReleaseLock(3)NAME
dictReleaseLock - release lock on value.
SYNOPSIS
#include <util/dict.h>
void dictReleaseLock(dictCtx dict, void *lock);
ARGUMENTS
dict - dictionary containing value to release.
lock - lock to release.
DESCRIPTION
Releases the lock on the value associated with <lock>. Once the lock is released, the dictCleanupFunc callback can be called for the value
(see dictCleanup()).
MT-Level: Safe if <dict> thread-safe.
RETURN VALUE
None.
SEE ALSO dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dict-
Search
ClearSilver 12 July 2007 dictReleaseLock(3)
Check Out this Related Man Page
dictNext(3) util/dict.h dictNext(3)NAME
dictNext - search for next value in dictionary.
SYNOPSIS
#include <util/dict.h>
void *dictNext(dictCtx dict, char **id, void **plock);
ARGUMENTS
dict - dictionary to iterate over.
id - pointer to identifier of last item found, or
pointer to NULL to retrieve first.
plock - place for value lock (or NULL).
DESCRIPTION
Can be used to iterate through values in the dictionary. The order is the order of the hash of the ids, which isn't usefully externally.
Will return the value if found, or NULL if not. If <plock> is non-NULL, then the lock returned in <plock> will be associated with the
returned value. Until this lock is passed to dictReleaseLock(), the value will not be passed to the dictCleanupFunc callback (see dict-
Cleanup()).
MT-Level: Safe if <dict> thread-safe.
RETURN VALUE
plock - set to value lock.
id - pointer to id of found value
SEE ALSO dictDestroy(3), dictCleanup(3), dictReleaseLock(3), dictRemove(3), dictNext(3), dictCreate(3), dictSetValue(3), dictModifyValue(3), dict-
Search
ClearSilver 12 July 2007 dictNext(3)
I found a lock file like this
lrwxrwxr-x 1 sskb apollo 16 Oct 22 22:00 lock -> hostname:2747
(pl. note that hostname is a number like 123.4.5.6)
but this was not shown in the file manager eventhough I had selected to show the hidden files.
I could not even read the... (4 Replies)
how can I lock my keyboard while I'm away from the computer without using lock command. What other commands gives me the option to lock keyboard device?
thanks (7 Replies)
I've got a file named jdictd.sh containing the following:
--- begin file contents ---
#! /bin/csh
echo I\'m running!
java -cp jdictd.jar org.dict.server.JDictd data/dict.ini
# Use the following line instead if JRE 1.1 is used
# jre -cp jdictd.jar org.dict.server.JDictd data/dict.ini
---end... (2 Replies)
Once I knew how to set up a unix file so that the num lock would automatically be on after booting up. How exactly is that done?
Unix has final control on the setting of the num lock from off or on to on at the end of the boot up process.
Any help will be appreciated, especially if detailed.
Oh... (0 Replies)
hi friends
i have a small problem,in my redhat enterprise linux system screen lock is not working
if i click screen lock no action takes place...
so is there any solution to fix this problem or any alternate method available please let me know....
waiting for replys.......
thanks... (2 Replies)
Hello,
Not sure if this is the right place to post it but..
I have a requirement to set Caps lock and/or Num lock on and off via a Cron job.
Now I have working scripts that do the job, but as soon as X starts up the jobs no longer run (well they appear to, but Caps lock and Num lock do not... (0 Replies)
Hi All!
I am not able to lock my Ubuntu 12.04 LXDE.
Can anybody tell me the shortcut to lock the system.
I have tried all conventional keyboard shortcuts as well as buttons. (2 Replies)
I need help. I have set a password policy. But I want to dis allow setting user name as password.
My policy is as below...
min length =8
min diff=2
min alpha=2
max repeats=2
dictionary= /usr/share/dict/words
Still user can set his username as password (i.e. Jackie1234).
Code tags for... (11 Replies)
Hi Team,
I'm new to python and working on a project.
I have an API call which returns a dict(got the dict.values() and converted to list) as shown below:
dict_values()
Any clue, how can I get only offset values, in deed I need a sum of those. I can write a "shell sed command" inside python... (2 Replies)