Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXAS21002 FXOS8700Q
simple-mbed-cloud-client/mbed-cloud-client/ns-hal-pal/ns_event_loop.h@0:977e87915078, 2019-08-28 (annotated)
- Committer:
- vithyat
- Date:
- Wed Aug 28 19:24:56 2019 +0000
- Revision:
- 0:977e87915078
init
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| vithyat | 0:977e87915078 | 1 | // ---------------------------------------------------------------------------- |
| vithyat | 0:977e87915078 | 2 | // Copyright 2016-2017 ARM Ltd. |
| vithyat | 0:977e87915078 | 3 | // |
| vithyat | 0:977e87915078 | 4 | // SPDX-License-Identifier: Apache-2.0 |
| vithyat | 0:977e87915078 | 5 | // |
| vithyat | 0:977e87915078 | 6 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| vithyat | 0:977e87915078 | 7 | // you may not use this file except in compliance with the License. |
| vithyat | 0:977e87915078 | 8 | // You may obtain a copy of the License at |
| vithyat | 0:977e87915078 | 9 | // |
| vithyat | 0:977e87915078 | 10 | // http://www.apache.org/licenses/LICENSE-2.0 |
| vithyat | 0:977e87915078 | 11 | // |
| vithyat | 0:977e87915078 | 12 | // Unless required by applicable law or agreed to in writing, software |
| vithyat | 0:977e87915078 | 13 | // distributed under the License is distributed on an "AS IS" BASIS, |
| vithyat | 0:977e87915078 | 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| vithyat | 0:977e87915078 | 15 | // See the License for the specific language governing permissions and |
| vithyat | 0:977e87915078 | 16 | // limitations under the License. |
| vithyat | 0:977e87915078 | 17 | // ---------------------------------------------------------------------------- |
| vithyat | 0:977e87915078 | 18 | |
| vithyat | 0:977e87915078 | 19 | #ifndef NS_EVENT_LOOP_H_ |
| vithyat | 0:977e87915078 | 20 | #define NS_EVENT_LOOP_H_ |
| vithyat | 0:977e87915078 | 21 | |
| vithyat | 0:977e87915078 | 22 | #ifdef __cplusplus |
| vithyat | 0:977e87915078 | 23 | extern "C" { |
| vithyat | 0:977e87915078 | 24 | #endif |
| vithyat | 0:977e87915078 | 25 | |
| vithyat | 0:977e87915078 | 26 | void ns_event_loop_thread_create(void); |
| vithyat | 0:977e87915078 | 27 | void ns_event_loop_thread_start(void); |
| vithyat | 0:977e87915078 | 28 | |
| vithyat | 0:977e87915078 | 29 | // A extension to original event loop API, which is useful on Linux only |
| vithyat | 0:977e87915078 | 30 | void ns_event_loop_thread_stop(void); |
| vithyat | 0:977e87915078 | 31 | |
| vithyat | 0:977e87915078 | 32 | #ifdef __cplusplus |
| vithyat | 0:977e87915078 | 33 | } |
| vithyat | 0:977e87915078 | 34 | #endif |
| vithyat | 0:977e87915078 | 35 | |
| vithyat | 0:977e87915078 | 36 | #endif /* NS_EVENT_LOOP_H_ */ |