1 | /* |
1 | /* |
2 | * libev event processing core, watcher management |
2 | * libev event processing core, watcher management |
3 | * |
3 | * |
4 | * Copyright (c) 2007-2019 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007-2020 Marc Alexander Lehmann <libev@schmorp.de> |
5 | * All rights reserved. |
5 | * All rights reserved. |
6 | * |
6 | * |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
7 | * Redistribution and use in source and binary forms, with or without modifica- |
8 | * tion, are permitted provided that the following conditions are met: |
8 | * tion, are permitted provided that the following conditions are met: |
9 | * |
9 | * |
… | |
… | |
3165 | |
3165 | |
3166 | /* TODO: linuxaio is very experimental */ |
3166 | /* TODO: linuxaio is very experimental */ |
3167 | #if !EV_RECOMMEND_LINUXAIO |
3167 | #if !EV_RECOMMEND_LINUXAIO |
3168 | flags &= ~EVBACKEND_LINUXAIO; |
3168 | flags &= ~EVBACKEND_LINUXAIO; |
3169 | #endif |
3169 | #endif |
3170 | /* TODO: linuxaio is super experimental */ |
3170 | /* TODO: iouring is super experimental */ |
3171 | #if !EV_RECOMMEND_IOURING |
3171 | #if !EV_RECOMMEND_IOURING |
3172 | flags &= ~EVBACKEND_IOURING; |
3172 | flags &= ~EVBACKEND_IOURING; |
3173 | #endif |
3173 | #endif |
3174 | |
3174 | |
3175 | return flags; |
3175 | return flags; |