Re: required/DEV300 CWS sb138 : osl_setThreadName

Stephan Bergmann <[email protected]> Mon, 31 Jan 2011 13:33:39 +0100
Newsgroups gmane.comp.openoffice.announce.interface
Message-ID <[email protected]>
On 01/28/11 16:35, [email protected] wrote:
>
>
>            Type: required
>           Title: osl_setThreadName
>       Posted by: [email protected]
>        Affected: -
>           TaskId: i115619
> <http://www.openoffice.org/issues/show_bug.cgi?id=115619>
> Effective from: DEV300 CWS sb138
>             CWS:
> <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/sb138>
>      CWS status: new
>
>
> *Summary*
> --------
> osl/thread.h:
> + void SAL_CALL osl_setThreadName(char const * name);
>
> osl/thread.hxx:
> + static void osl::Thread::setName(char const * name) throw ();
>
> *Description*
> -------------
> /** Attempts to set the name of the current thread.
>
>      The name of a thread is usually evaluated for debugging purposes.
>   Not all
>      platforms support this.  On Linux, a set thread name can be
> observed with
>      "ps -L".  On Windows, a thread name set while a debugger is
> attached can be

On Windows *with the Microsoft compiler,* a thread ...

>      observed within the debugger.
>
>      @param name  the name of the thread; must not be null; on Linux,
> only the
>      first 16 characters are used
> */
> void SAL_CALL osl_setThreadName(char const * name);