Ignore:
Timestamp:
Feb 12, 2019, 1:15:47 PM (3 years ago)
Author:
alain
Message:

1) Fix a bug in KSH : after the "load" command,

the [ksh] prompt is now printed after completion
of the loaded application.

2) Fix a bug in vmm_handle_cow() : the copy-on-write

use now a hal_remote_memcpy() to replicate the page content.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libpthread/pthread.c

    r609 r619  
    22 * pthread.c - User level <pthread> library implementation.
    33 *
    4  * Author     Alain Greiner (2016,2017,2018)
     4 * Author     Alain Greiner (2016,2017,2018,2019)
    55 *
    66 * Copyright (c) UPMC Sorbonne Universites
     
    202202                          unsigned int                  count )
    203203{
    204     if ( attr )
    205     {
    206         printf("[ERROR] in %s ; <attr> argument must be NULL\n", __FUNCTION__ );
    207         return -1;
    208     }
    209 
    210204    return hal_user_syscall( SYS_BARRIER,
    211205                             (reg_t)barrier,
    212206                             BARRIER_INIT,
    213207                             (reg_t)count,
    214                              0 );
     208                             (reg_t)attr );
    215209}
    216210
     
    362356    }
    363357
    364     // check attributes
     358    // check attributes / count
    365359    if( (x_size * y_size * nthreads) != count )
    366360    {
Note: See TracChangeset for help on using the changeset viewer.