Registered by KAtanasov

Parallel execution patterns implemented as C library

What is libfly?

libfly is a C library which strive to be simple way of doing parallel
tasks.
Supported parallel patterns:

Simple parallel_for:
int parallel_for(int count, fly_parallel_for_func func, void *ptr);
Run func, count number of times with parameters index and ptr.

Simple parallel_for_arr:
int fly_parallel_for_arr(int start, int end, fly_parallel_for_func func, void *arr, size_t elsize);
Run func, (end - start) number of times with parameters index and arr[index].

Task pushing:
int fly_push_task(struct fly_task *task);
Run task asynchronously on some thread in some time.

int fly_wait_task(struct fly_task *task);
Wait previously pushed task to finish.

void *fly_get_task_result(struct fly_task *task);

Project information

Maintainer:
KAtanasov
Driver:
KAtanasov
Licence:
GNU LGPL v2.1

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
C

All blueprints Latest blueprints

Downloads

Latest version is 0.3.0
released

All downloads

Announcements

  • libfly-0.3.0 on 2013-05-29
    Releasing libfly v0.3.0 with support for recursive parallel for and asynchron...
  • libfly v0.2.1 on 2013-05-11
    Releasing libfly v0.2.1 with support for non recursive parallel for and async...
  • libfly version 0.2.0 on 2013-05-05
    Releasing libfly v0.2.0 with support for non recursive parallel for and async...