Low Level

Please post support and help requests here.
cx500tc
Posts: 26
Joined: 24 Sep 2007, 17:48

Low Level

Postby cx500tc » 05 Feb 2008, 20:31

For object like Mutex and such the low level error returned by the function is lost making diagnostic difficult.

May I suggest something like:

int ret;
if ( ( ret = pthread_mutex_init(&_mutex, &attr) ) != EOK )
throw SystemException("cannot unlock named mutex", _name + " error code" + Poco::NumberFormatter::format( ret ));

You get the idea?

alex
Posts: 1272
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Low Level

Postby alex » 05 Feb 2008, 20:51

> For object like Mutex and such the low level return by pthread_mutex_init in this example is lost making diagnostic difficult.
>
> May I suggest something like:

The best way to get a feature added (and not get discouraged by a lack of response) is to precisely articulate the request in the Sourceforge Feature Request tracking system.

While speculating about a feature and ways how to achieve it may be beneficial to some extent, in the end it must be fully specified and coded in order to materialize into a feature. And that requires time, which is the most scarce resource we have.

So, if you put together a coherent and specific request and submit a proof-of-concept code patch that works (preferably across supported platforms), your chances of getting what you want will be much higher.

Alex


Return to “Support”

Who is online

Users browsing this forum: No registered users and 3 guests

cron