required/DEV300 CWS sb138 : osl_setThreadName

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

required/DEV300 CWS sb138 : osl_setThreadName

stephan.bergmann


          Type: required
         Title: osl_setThreadName
     Posted by: [hidden email]
      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
    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);


Send feedback to [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: required/DEV300 CWS sb138 : osl_setThreadName

Stephan Bergmann-2
On 01/28/11 16:35, [hidden email] wrote:

>
>
>            Type: required
>           Title: osl_setThreadName
>       Posted by: [hidden email]
>        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);

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]