Lely core libraries 2.3.4
|
This file is part of the event library; it contains the implementation of the strand executor functions. More...
#include "ev.h"
#include <lely/libc/stdatomic.h>
#include <lely/libc/threads.h>
#include <lely/ev/exec.h>
#include <lely/ev/strand.h>
#include <lely/ev/task.h>
#include <lely/util/errnum.h>
#include <lely/util/util.h>
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | ev_strand |
Functions | |
ev_exec_t * | ev_strand_create (ev_exec_t *inner_exec) |
Creates a strand executor. | |
void | ev_strand_destroy (ev_exec_t *exec) |
Destroys a strand executor. | |
ev_exec_t * | ev_strand_get_inner_exec (const ev_exec_t *exec) |
Returns a pointer to the inner executor of a strand. | |
This file is part of the event library; it contains the implementation of the strand executor functions.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file strand.c.
Creates a strand executor.
inner_exec | a pointer to the inner executor used to execute the tasks. |
void ev_strand_destroy | ( | ev_exec_t * | exec | ) |