OS/2 implementation for cairo-perf (was: [cairo] [cairo-announce] cairo release 1.4.4 now available)

Peter Weilbacher (Mozilla) mozilla at weilbacher.org
Sat Apr 21 06:53:42 PDT 2007


On Fri, 20 Apr 2007 20:54:00 +0200, Peter Weilbacher (Mozilla) wrote:

>Now the build breaks in cairo-perf-posix.c...

Hmm, the OS/2 GCC defines _POSIX_PRIORITY_SCHEDULING but doesn't have
sched.h nor does it seem to implement the stuff we need to get
cairo-perf-posix.c to work. Removing perf from the main Makefile for
OS/2 seemed ugly, so I implemented what I think is the respective
approach for OS/2. I attach the new file cairo-perf-os2.c and the diff
for the Makefile.

As I adapted the code from cairo-perf-win32.c what is the correct
copyright header? I added my name and "(C) 2007 Netlabs" as that is
what the other OS/2 files have, too, and also remarked that the two
other names there are the people who created the original win32/linux
files... Let me know if this is not correct.

   Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 3029 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070421/d51a2973/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 471 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070421/d51a2973/attachment-0001.obj


More information about the cairo mailing list