[ 
https://issues.apache.org/jira/browse/MYNEWT-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668700#comment-15668700
 ] 

ASF subversion and git services commented on MYNEWT-7:
------------------------------------------------------

Commit 847f697ed13a1ead488afe7c4914d5f11d3133cb in incubator-mynewt-core's 
branch refs/heads/develop from [~peterfs]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=847f697 
]

MYNEWT-7 Add support for os_task_suspend

os_task_suspend() implements the ability to effectively stop a task.
A new routine os_sched_suspend() removes the task from the appropriate
scheduler queue and marks it as suspended. The task may be re-initialized
by calling os_task_init().

Suspending a task is disallowed if it's trying to suspend itself, it's not on 
the ready or sleep queue, or if it's waiting on a mutex, semaphore or eventq.


> OS should have the ability to stop a task
> -----------------------------------------
>
>                 Key: MYNEWT-7
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-7
>             Project: Mynewt
>          Issue Type: New Feature
>          Components: OS
>            Reporter: Sterling Hughes
>            Assignee: Peter Snyder
>             Fix For: v1_1_beta1
>
>
> Currently the OS can start any number of tasks, but there is no way to stop 
> or remove a task from being scheduled.  There should be an API to "stop" a 
> task and remove it from the scheduler.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to