mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
4a60a524a8
one used in the book Foundations of Multithreaded, Parallel, and Distributed Programming. The name of the language comes from the first three letters of the main words of the title of the book: Multithreaded, Parallel, and Distributed. These words also capture a distinguishing aspect of the language, namely that it supports all three of these concurrent programming techniques. MPD is implemented as a variant of the SR programming language. It has a different parser, but it uses the same intermediate form and run-time system as SR. Consequently, MPD provides the same variety of concurrent programming mechanisms as does SR. WWW: http://www.cs.arizona.edu/mpd/ PR: ports/108806 Submitted by: Kai Wang <kaiw27 at gmail.com>
25 lines
796 B
C
25 lines
796 B
C
--- csw/asm.c.orig Mon Feb 5 11:13:59 2007
|
|
+++ csw/asm.c Sun Feb 4 23:58:49 2007
|
|
@@ -8,21 +8,12 @@
|
|
|
|
#include "../arch.h"
|
|
|
|
-#if (defined(__linux__) && defined(__ELF__)) || defined(__svr4__)
|
|
#define MPD_BUILD_CONTEXT mpd_build_context
|
|
#define MPD_CHG_CONTEXT mpd_chg_context
|
|
#define MPD_CHECK_STK mpd_check_stk
|
|
#define MPD_STK_OVERFLOW mpd_stk_overflow
|
|
#define MPD_STK_UNDERFLOW mpd_stk_underflow
|
|
#define MPD_STK_CORRUPTED mpd_stk_corrupted
|
|
-#else /* other systems use leading underscore */
|
|
-#define MPD_BUILD_CONTEXT _mpd_build_context
|
|
-#define MPD_CHG_CONTEXT _mpd_chg_context
|
|
-#define MPD_CHECK_STK _mpd_check_stk
|
|
-#define MPD_STK_OVERFLOW _mpd_stk_overflow
|
|
-#define MPD_STK_UNDERFLOW _mpd_stk_underflow
|
|
-#define MPD_STK_CORRUPTED _mpd_stk_corrupted
|
|
-#endif
|
|
|
|
#include SFILE
|
|
|