Not so Ubuntu related C question
dave at mudsite.com
Wed Jul 13 21:51:59 UTC 2005
adi zebic wrote:
>On 7/13/05, dave walker <dave at mudsite.com> wrote:
>>I have a question, and just thought someone here may have an answer for me.
>>I am writing a library, with plugins in Thunderbird and Gaim (for right
>>now). The library is an API to edit an XML file. So both, TB and GAIM,
>>should not be able to issue a write command to the file at the same
>>time. My question is, am I able to use mutex in the library to allow
>>only one process to write at a time, OR, will I need to use a file lock?
>did you try to post your gaim/thunderbird  specific question to
>they respective dev mailing lists?
It's not so much a gaim/tb question as it is a 'how C works' question.
Would I be able to use Mutex through a library used in 2 different
programs (i gave gaim/thunderbird as an example), or would I have to use
a file lock.
More information about the ubuntu-users