|
[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 <mschonberg@...>
·
#82
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#81
·
|
|
[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:
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:
|
By
Michael Schonberg <mschonberg@...>
·
#83
·
|
|
[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@...>
---
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@...>
---
|
By
Michael Schonberg <mschonberg@...>
·
#84
·
|
|
[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@...>
---
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@...>
---
|
By
Michael Schonberg <mschonberg@...>
·
#85
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#86
·
|
|
[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 |
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 |
|
By
Michael Schonberg <mschonberg@...>
·
#87
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#88
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#89
·
|
|
[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 ++++++++++
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 ++++++++++
|
By
Michael Schonberg <mschonberg@...>
·
#90
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#91
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#92
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#93
·
|
|
[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@...>
---
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@...>
---
|
By
Michael Schonberg <mschonberg@...>
·
#94
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#95
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#96
·
|
|
[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@...>
---
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@...>
---
|
By
Michael Schonberg <mschonberg@...>
·
#97
·
|
|
[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
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
|
By
Michael Schonberg <mschonberg@...>
·
#98
·
|
|
[PATCH 19/30] Moved wombat/wInterlocked.h to Linux directory
From: Mike Schonberg <mschonberg@...>
These inline asm functions are os depenent.
Signed-off-by: Mike Schonberg <mschonberg@...>
---
common/c_cpp/configure.ac | 1 +
From: Mike Schonberg <mschonberg@...>
These inline asm functions are os depenent.
Signed-off-by: Mike Schonberg <mschonberg@...>
---
common/c_cpp/configure.ac | 1 +
|
By
Michael Schonberg <mschonberg@...>
·
#99
·
|
|
[PATCH 20/30] Add wtimegm macro for poritning timegm
timegm() is not avaliable on windows so we need a macro to abstract the
method. The windows implementation is simple using mktime() and
temporarily setting the timezone to GMT.
Signed-off-by: Mike
timegm() is not avaliable on windows so we need a macro to abstract the
method. The windows implementation is simple using mktime() and
temporarily setting the timezone to GMT.
Signed-off-by: Mike
|
By
Michael Schonberg <mschonberg@...>
·
#100
·
|