frederic heem frederic.heem at telsey.it
Thu Sep 14 01:59:03 PDT 2006

As for dbus-0.93, the mutex functions return value has been removed and inside 
the lock and unlock function, there isn't any assert to check the return 
value of the underlying mutex function. This is definitely a mistake to 
remove chance to chase hard to find bug.
What's happens in the following case:
* the mutex is not valid one
* the mutex is already locked although it's a non recursive mutex.
* the mutex is unlock although it's not locked
etc ...
Checking return value for system function such as the mutex one is not an 
option, it's necessary to produce high quality software.

Alle 01:21, giovedì 14 settembre 2006, Havoc Pennington ha scritto:
> The only suggestion I have is that there were assertions that mutex_new
> etc. were provided at the beginning of dbus_threads_init, but it should
> be allowed now to omit those if you have the recursive mutex functions.
> So maybe change the assertions to be that either all recursive mutex
> functions are provided, OR all nonrecursive are provided, but not both.
> Then people can stop providing the deprecated functions, and if they
> provide both they will get a warning that it makes no sense to provide
> both.
> Looks good to me though otherwise.
> Havoc
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus


--- NOTICE ---

CONFIDENTIALITY - This  email  and  any  attachments  are confidential and are
intended  for  the  addressee  only.   If  you  have  received this message by
mistake,  please  contact us immediately and then delete the message from your
system.  You  must  not copy, distribute, disclose or act upon the contents of
this email. Thank you.

PERSONAL DATA PROTECTION  (Law  by  Decree  30. 06.2003 n. 196) - Personal and
corporate  data  submitted  will  be used in a correct, transparent and lawful
manner. The data collected will be processed in paper or computerized form for
the performance of contractual  and  lawful  obligations  as  well  as for the
effective management of business relationship. Data may be disclosed, in Italy
or abroad, for the purpose above mentioned to third  parties  which  cooperate
with Telsey, agents, banks, factoring companies,  credit recovering companies,
credit  insurance  companies,  professional  and  consultants,  and   shipping
companies. In relation to the same purposes, data  may  be  processed  by  the
following  classes  of  executors  or  processors:  management; administration
department; logistics  and  purchase  department; sales department; post sales
department quality department; R&D department; IT department; legal department.
The  data  processor  is  Telsey S.p.A.  The data subject may exercise all the
rights set forth in art. 7 of Law by Decree 30. 06.2003 n. 196 as reported  in
in the following link http://www.telsey.it/privacy.jsp. 


More information about the dbus mailing list