Changeset 664


Ignore:
Timestamp:
Mar 17, 2004, 4:19:10 PM (21 years ago)
Author:
Gary Byers
Message:

Return NIL (not 0/%null-ptr) if no underlying pthread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-lisp-threads.lisp

    r657 r664  
    473473    (%setf-macptr-to-object tcrp (lisp-thread.tcr thread))
    474474    (unless (%null-ptr-p tcrp)
    475       (#+linuxppc-target %get-unsigned-long #-linuxppc-target %get-ptr
    476                          tcrp ppc32::tcr.osid))))
     475      #+linuxppc-target
     476      (let* ((pthread (%get-unsigned-long tcrp ppc32::tcr.osid)))
     477        (unless (zerop pthread) pthread))
     478      #-linuxppc-target
     479      (let* ((pthread (%get-ptr tcrp ppc32::tcr.osid)))
     480        (unless (%null-ptr-p pthread) pthread)))))
    477481                         
    478482;;; This returns something lower-level than the pthread, if that
Note: See TracChangeset for help on using the changeset viewer.