mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 19:18:55 +00:00
Update to use 64-bit timer when available
This commit is contained in:
parent
cb7bbdfed4
commit
f348e68069
41 changed files with 182 additions and 165 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* libc/wqueue/work_usrthread.c
|
||||
*
|
||||
* Copyright (C) 2009-2015 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009-2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -122,11 +122,11 @@ void work_process(FAR struct usr_wqueue_s *wqueue)
|
|||
volatile FAR struct work_s *work;
|
||||
worker_t worker;
|
||||
FAR void *arg;
|
||||
uint32_t elapsed;
|
||||
uint32_t remaining;
|
||||
uint32_t stick;
|
||||
uint32_t ctick;
|
||||
uint32_t next;
|
||||
systime_t elapsed;
|
||||
systime_t remaining;
|
||||
systime_t stick;
|
||||
systime_t ctick;
|
||||
systime_t next;
|
||||
int ret;
|
||||
|
||||
/* Then process queued work. Lock the work queue while we process items
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue