|
Revision 1265, 0.9 kB
(checked in by ArcRiley, 5 months ago)
|
|
Pyrex 0.9.8.2 fixes :
- now requires 0.9.8.2
- nogil goes everywhere
- a few functions got GIL-cleaned
- still doesn't compile, but many steps closer
|
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # Posix Declarations |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006,2007,2008 PySoy Group |
|---|
| 4 | # |
|---|
| 5 | # This program is free software; you can redistribute it and/or modify |
|---|
| 6 | # it under the terms of the GNU Affero General Public License as published |
|---|
| 7 | # by the Free Software Foundation, either version 3 of the License, or |
|---|
| 8 | # (at your option) any later version. |
|---|
| 9 | # |
|---|
| 10 | # This program is distributed in the hope that it will be useful, |
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | # GNU Affero General Public License for more details. |
|---|
| 14 | # |
|---|
| 15 | # You should have received a copy of the GNU Affero General Public License |
|---|
| 16 | # along with this program; if not, see http://www.gnu.org/licenses |
|---|
| 17 | # |
|---|
| 18 | # $Id$ |
|---|
| 19 | |
|---|
| 20 | cdef extern from "sys/time.h" nogil : |
|---|
| 21 | cdef struct timeval : |
|---|
| 22 | long int tv_sec |
|---|
| 23 | long int tv_usec |
|---|
| 24 | int gettimeofday (timeval *tv, void *tz ) |
|---|
| 25 | |
|---|
| 26 | cdef extern from "unistd.h" nogil : |
|---|
| 27 | void usleep(unsigned long usec) |
|---|