Changeset 7e7b791 in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2011-05-13T14:34:31Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5fd3f2d
Parents:
23f40280
Message:

Implement SYS_THREAD_UDELAY syscall for short delays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r23f40280 r7e7b791  
    918918}
    919919
     920sysarg_t sys_thread_udelay(uint32_t usec)
     921{
     922        asm_delay_loop(usec * CPU->delay_loop_const);
     923        return 0;
     924}
     925
    920926/** @}
    921927 */
Note: See TracChangeset for help on using the changeset viewer.