|
[PATCH] [mama] Use "ft" as default FT transport name
From: Mike Schonberg <mschonberg@...> When setting up fault tolerance use "ft" as the transport name for reading properties if the call does not provide a transport. Signed-off-by: Michael Schonberg <
From: Mike Schonberg <mschonberg@...> When setting up fault tolerance use "ft" as the transport name for reading properties if the call does not provide a transport. Signed-off-by: Michael Schonberg <
|
By
Michael Schonberg
·
|
|
[PATCH 00/30] Preparing for Windows Support
From: Mike Schonberg <mschonberg@...> This rather large patch set introduces the changes required for Windows support. Prior to OpenMAMA, MAMA supported other operating systems (Windows and Solaris) t
From: Mike Schonberg <mschonberg@...> This rather large patch set introduces the changes required for Windows support. Prior to OpenMAMA, MAMA supported other operating systems (Windows and Solaris) t
|
By
Michael Schonberg
·
|
|
[PATCH 01/30] Move Linux Specific #includes and Macros
#includes
This is the first in a series of patches to add Windows suport. Rather than peppering the source with #ifdef osXXX blocks, os specific headers and source files go into directory with the same name as
This is the first in a series of patches to add Windows suport. Rather than peppering the source with #ifdef osXXX blocks, os specific headers and source files go into directory with the same name as
|
By
Michael Schonberg
·
|
|
[PATCH 02/30] Moved Calling Convention from wConfig.h to linux/port.h
These are OS specific. wConfig remains for backwards compatibilit; however, it may be removed in the future. They all default to a no-op for Linux, but are required for different Windows builds (dynam
These are OS specific. wConfig remains for backwards compatibilit; however, it may be removed in the future. They all default to a no-op for Linux, but are required for different Windows builds (dynam
|
By
Michael Schonberg
·
|
|
[PATCH 03/30] Moved environment.c to linux/environment.c
The funcitons for manipulating environement variables are os-specific. We may want to add a generic directory for a default implemenation. This is in preparation for the windows port. Signed-off-by: M
The funcitons for manipulating environement variables are os-specific. We may want to add a generic directory for a default implemenation. This is in preparation for the windows port. Signed-off-by: M
|
By
Michael Schonberg
·
|
|
[PATCH 04/30] Moved linux code from machine.c to linux/machine.c
In preparation for windows support, machine.c contains generic code while Linux specific code is now in linux/machine.c Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1
In preparation for windows support, machine.c contains generic code while Linux specific code is now in linux/machine.c Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1
|
By
Michael Schonberg
·
|
|
[PATCH 05/30] Moved platform.c to linux/platform.c
The funcitons for accessing shared libraries in platform.c are os dependent. This is in prepration for windows support. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1
The funcitons for accessing shared libraries in platform.c are os dependent. This is in prepration for windows support. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1
|
By
Michael Schonberg
·
|
|
[PATCH 06/30] Moved wincompat.h contents to _os_/port.h
In preparation for windows support, wincompat.h now simply includes the appropriate port.h file. The file remains in the tree as other products include it. Signed-off-by: Mike Schonberg <mschonberg@..
In preparation for windows support, wincompat.h now simply includes the appropriate port.h file. The file remains in the tree as other products include it. Signed-off-by: Mike Schonberg <mschonberg@..
|
By
Michael Schonberg
·
|
|
[PATCH 07/30] Changes for queue.c to build on windows
We need to call the wthread_xxx macros rather than pthread_xxx. A few compiler warnings and bugs fixed as well. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/queue.c | 94 +++++
We need to call the wthread_xxx macros rather than pthread_xxx. A few compiler warnings and bugs fixed as well. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/queue.c | 94 +++++
|
By
Michael Schonberg
·
|
|
[PATCH 08/30] wlock.c changes for windows support
The pthread_xxx references changed to wthread_xxx Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/wlock.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git
The pthread_xxx references changed to wthread_xxx Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/wlock.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git
|
By
Michael Schonberg
·
|
|
[PATCH 09/30] Preparing timer.c and timer.c for windows support
These files are required by the Avis bridge as Avis does not provide native timer support. The changes include changing pthread_xxx calls to wthread_xxx calls, and implementing macros for socketpair a
These files are required by the Avis bridge as Avis does not provide native timer support. The changes include changing pthread_xxx calls to wthread_xxx calls, and implementing macros for socketpair a
|
By
Michael Schonberg
·
|
|
[PATCH 10/30] Move wSemaphore.c to linx/wSemaphroe.c
In preparation for windows support. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1 + common/c_cpp/src/c/linux/wSemaphore.c | 57 ++++++++++ common/c_cpp/src/c/wSemapho
In preparation for windows support. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/configure.ac | 1 + common/c_cpp/src/c/linux/wSemaphore.c | 57 ++++++++++ common/c_cpp/src/c/wSemapho
|
By
Michael Schonberg
·
|
|
[PATCH 11/30] Moved macros for inline functions to _os_/port.h
These are compiler/os specific. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/linux/port.h | 3 +++ common/c_cpp/src/c/wombat/wCommon.h | 27 ++------------------------- 2 files
These are compiler/os specific. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/linux/port.h | 3 +++ common/c_cpp/src/c/wombat/wCommon.h | 27 ++------------------------- 2 files
|
By
Michael Schonberg
·
|
|
[PATCH 12/30] Added wthread_global_mutex macros
In preparation for windows support, replace global phread_mutex_t and wthread_mutex_t inititialized with PTHREAD_MUTEX_INITIALIZER with wthread_gobal_mtuex() macros. This is required because Windows c
In preparation for windows support, replace global phread_mutex_t and wthread_mutex_t inititialized with PTHREAD_MUTEX_INITIALIZER with wthread_gobal_mtuex() macros. This is required because Windows c
|
By
Michael Schonberg
·
|
|
[PATCH 13/30] Header changes for windows support
Removed Linux specific #include's from MAMA files and added the missing ones to common/.../linux/port.h. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/linux/port.h | 6 ++++++ m
Removed Linux specific #include's from MAMA files and added the missing ones to common/.../linux/port.h. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/src/c/linux/port.h | 6 ++++++ m
|
By
Michael Schonberg
·
|
|
[PATCH 14/30] Prepare ft.c for Windows support
Use MAMACALLTYPE (__stdcall for windows) for callbacks. Move os dependent network calls to common/.../_os_/. Fixed some compiler warnings. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_c
Use MAMACALLTYPE (__stdcall for windows) for callbacks. Move os dependent network calls to common/.../_os_/. Fixed some compiler warnings. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_c
|
By
Michael Schonberg
·
|
|
[PATCH 15/30] Removed PATHSEP macro
This is os dependent and defined in common/.../_os_/port.h Signed-off-by: Mike Schonberg <mschonberg@...> --- mama/c_cpp/src/c/fileutils.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff -
This is os dependent and defined in common/.../_os_/port.h Signed-off-by: Mike Schonberg <mschonberg@...> --- mama/c_cpp/src/c/fileutils.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff -
|
By
Michael Schonberg
·
|
|
[PATCH 16/30] Added Thread Local Storage
In preparation for windows support macros for pthread style thread local storage added to linux/port.h wthread_key_create wthread_key_delete wthread_getspecific wthread_setspecific These map directly
In preparation for windows support macros for pthread style thread local storage added to linux/port.h wthread_key_create wthread_key_delete wthread_getspecific wthread_setspecific These map directly
|
By
Michael Schonberg
·
|
|
[PATCH 17/30] Added getHostName and getIpAddress.
Added to linux/port.h and linux/network.c for windows support. The API calls to determine the hostname and ip address are os specific. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/s
Added to linux/port.h and linux/network.c for windows support. The API calls to determine the hostname and ip address are os specific. Signed-off-by: Mike Schonberg <mschonberg@...> --- common/c_cpp/s
|
By
Michael Schonberg
·
|
|
[PATCH 18/30] mama.c changes for windows support
Converted pthread_xxx calls to wthread_xxx. Use getLogin(), getIpAddress(), and getHostName() from common for os dependent implemnatons of these functions. Signed-off-by: Mike Schonberg <mschonberg@..
Converted pthread_xxx calls to wthread_xxx. Use getLogin(), getIpAddress(), and getHostName() from common for os dependent implemnatons of these functions. Signed-off-by: Mike Schonberg <mschonberg@..
|
By
Michael Schonberg
·
|