Since some systems show internal thread IDs in base 10, allow entry

of numeric thread IDs in any base.
This commit is contained in:
W. Eric Norum
2003-03-02 17:38:33 +00:00
parent eaf0c60fe5
commit 5dd9a8b785

View File

@@ -82,7 +82,7 @@ static void showCallFunc(const iocshArgBuf *args)
}
for ( ; i < argc ; i++) {
cp = argv[i];
ltmp = strtoul (cp, &endp, 16);
ltmp = strtoul (cp, &endp, 0);
if (*endp) {
tid = epicsThreadGetId (cp);
if (!tid) {