View Single Post
Old 02 September 2016, 16:17   #98
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 840
Code:
    ;* Pointer to an extended task structure.  This structure is allocated
    ;* by V36 Exec if the proper flags in tc_ETaskFlags are set.  This
    ;* field was formerly defined as:
    ;*		UWORD	TC_TRAPALLOC	    ; traps allocated
    ;*		UWORD	TC_TRAPABLE	    ; traps enabled
    ;* Please see the Exec AllocTrap() and FreeTrap() calls.
    ;*
    APTR    tc_ETask		    ; pointer to extended task structure
I have patched Exec to force setting T_ETASK(is that the correct name?) on all task creations and so far do not know any ill effect. There certainly is a possibility there can be as C= made it optional, but hopefully most useful sw is 2.0-aware.

Exec would be free to modify/extend the TC_ETASK struct for multi-cpu purposes, but that does not resolve non-atomic opcodes.
NorthWay is offline  
 
Page generated in 0.07622 seconds with 11 queries