Changeset 75d16dd8 in rtems


Ignore:
Timestamp:
Jul 23, 2008, 10:07:16 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
a39cf49
Parents:
e6ee171
Message:

2008-07-23 Joel Sherrill <joel.sherrill@…>

  • shell/Makefile.am, shell/rtems.t: Add pthread command.
Location:
doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    re6ee171 r75d16dd8  
     12008-07-23      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * shell/Makefile.am, shell/rtems.t: Add pthread command.
     4
    152008-07-18      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • doc/shell/Makefile.am

    re6ee171 r75d16dd8  
    4949
    5050network.texi: network.t
    51         $(BMENU2) -p "RTEMS Specific Commands dname - displays information about named drivers" \
     51        $(BMENU2) -p "RTEMS Specific Commands pthread - display information about POSIX threads" \
    5252            -u "Top" \
    5353            -n "Function and Variable Index" < $< > $@
  • doc/shell/rtems.t

    re6ee171 r75d16dd8  
    3030@item @code{driver} - Display the RTEMS device driver table
    3131@item @code{dname} - Displays information about named drivers
     32@item @code{pthread} - Displays information about POSIX threads
    3233
    3334@end itemize
     
    12511252@end example
    12521253
     1254@c
     1255@c
     1256@c
     1257@page
     1258@subsection pthread - display information about POSIX threads
     1259
     1260@pgindex pthread
     1261
     1262@subheading SYNOPSYS:
     1263
     1264@example
     1265pthread [id [id ...] ]
     1266@end example
     1267
     1268@subheading DESCRIPTION:
     1269
     1270When invoked with no arguments, this command prints information on
     1271the set of POSIX API threads currently active in the system.
     1272
     1273If invoked with a set of ids as arguments, then just
     1274those objects are included in the information printed.
     1275
     1276@subheading EXIT STATUS:
     1277
     1278This command returns 0 on success and non-zero if an error is encountered.
     1279
     1280@subheading NOTES:
     1281
     1282This command is only available when the POSIX API is configured.
     1283
     1284@subheading EXAMPLES:
     1285
     1286The following is an example of how to use the @code{task} on an
     1287application with four POSIX threads:
     1288
     1289@smallexample
     1290SHLL [/] $ pthread
     1291  ID       NAME           PRI  STATE MODES   EVENTS    WAITID  WAITARG  NOTES
     1292------------------------------------------------------------------------------
     12930b010002   Main           133 READY  P:T:nA    NONE   43010001 0x7b1148
     12940b010003   ISR            133 Wcvar  P:T:nA    NONE   43010003 0x7b1148
     12950b01000c                  133 READY  P:T:nA    NONE   33010002 0x7b1148
     12960b01000d                  133 Wmutex P:T:nA    NONE   33010002 0x7b1148
     1297
     1298@end smallexample
     1299
     1300@subheading CONFIGURATION:
     1301
     1302This command is part of the monitor commands which are always
     1303available in the shell.
     1304
     1305@subheading PROGRAMMING INFORMATION:
     1306
     1307This command is not directly available for invocation.
     1308
Note: See TracChangeset for help on using the changeset viewer.