1 | /* |
1 | /* |
2 | * libev solaris event port backend |
2 | * libev solaris event port backend |
3 | * |
3 | * |
4 | * Copyright (c) 2007,2008 Marc Alexander Lehmann <libev@schmorp.de> |
4 | * Copyright (c) 2007,2008,2009 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 | * |
… | |
… | |
92 | EV_ACQUIRE_CB; |
92 | EV_ACQUIRE_CB; |
93 | |
93 | |
94 | if (res == -1) |
94 | if (res == -1) |
95 | { |
95 | { |
96 | if (errno != EINTR && errno != ETIME) |
96 | if (errno != EINTR && errno != ETIME) |
97 | ev_syserr ("(libev) port_getn"); |
97 | ev_syserr ("(libev) port_getn (see http://bugs.opensolaris.org/view_bug.do?bug_id=6268715, try LIBEV_FLAGS=3 env variable)"); |
98 | |
98 | |
99 | return; |
99 | return; |
100 | } |
100 | } |
101 | |
101 | |
102 | for (i = 0; i < nget; ++i) |
102 | for (i = 0; i < nget; ++i) |