Changes in / [28e88d7:7a70fb2]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/startup.cfa

    r28e88d7 r7a70fb2  
    725725                }
    726726        #else
     727                __cfaabi_dbg_debug_do(
     728                        // pthread has no mechanism to create the guard page in user supplied stack.
     729                        if ( mprotect( stack, __page_size, PROT_READ | PROT_WRITE ) == -1 ) {
     730                                abort( "mprotect : internal error, mprotect failure, error(%d) %s.", errno, strerror( errno ) );
     731                        } // if
     732                );
    727733                free( stack );
    728734        #endif
Note: See TracChangeset for help on using the changeset viewer.