diff options
| author | David Xu <davidxu@FreeBSD.org> | 2004-08-03 02:23:06 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2004-08-03 02:23:06 +0000 |
| commit | 4513fb36aa05311f7c37d4d22c61740af18f6ce3 (patch) | |
| tree | ecab1eab8d4a6ebfbf396cb5ab2e5d6c501e078f /lib/libthread_db/libpthread_db.c | |
| parent | 2ff39e1543499092693ebb5ab34cfa0cd91ed214 (diff) | |
Notes
Diffstat (limited to 'lib/libthread_db/libpthread_db.c')
| -rw-r--r-- | lib/libthread_db/libpthread_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libthread_db/libpthread_db.c b/lib/libthread_db/libpthread_db.c index a2fae3b642a9..c5ef5ce1632d 100644 --- a/lib/libthread_db/libpthread_db.c +++ b/lib/libthread_db/libpthread_db.c @@ -487,9 +487,9 @@ pt_dbsuspend(const td_thrhandle_t *th, int suspend) if (ret != 0) return (P2T(ret)); if (suspend) - dflags |= TMDF_DONOTRUNUSER; + dflags |= TMDF_SUSPEND; else - dflags &= ~TMDF_DONOTRUNUSER; + dflags &= ~TMDF_SUSPEND; ret = ps_pwrite(ta->ph, tmbx_addr + offsetof(struct kse_thr_mailbox, tm_dflags), &dflags, sizeof(dflags)); @@ -594,7 +594,7 @@ pt_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) break; } - info->ti_db_suspended = ((dflags & TMDF_DONOTRUNUSER) != 0); + info->ti_db_suspended = ((dflags & TMDF_SUSPEND) != 0); info->ti_type = TD_THR_USER; info->ti_pri = pt.active_priority; info->ti_sigmask = pt.sigmask; |
