taskTransport Sample Protocol - Tasks: task #5738, Windows port of TSP Core

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #5738: Windows port of TSP Core

Submitter:  Eric NOULARD <erk>
Submitted:  Mon 24 Jul 2006 01:12:31 PM UTC
   
 
Category:  tsp core Should Start On:  Sun 23 Jul 2006 10:00:00 PM UTC
Should be Finished on:  Sat 14 Oct 2006 10:00:00 PM UTC Priority:  7 - High
Status:  Ready For Test Privacy:  Public
Assigned to:  pratal Percent Complete:  100%
Open/Closed:  Closed Effort:  0.00

Discussion locked!

Jump to the original submission

Wed 18 Oct 2006 10:00:25 AM UTC, comment #14: 

Just committed in CVS all patches :))
Please get a fresh Checkout or update
and have fun :))

Eric NOULARD <erk>
Group administrator
Wed 18 Oct 2006 08:42:59 AM UTC, comment #13: 

Adding separate patch files for this
the pacthes are done against TSP CVS tree at savannah
on july, 25th 2006 and a private subversion tree
at revision 205.


Eric NOULARD <erk>
Group administrator
Fri 13 Oct 2006 11:17:43 AM UTC, comment #12: 

Installer is OK.
We are currently in a multiple install test loop.
I join a nice screenshot :))

Eric NOULARD <erk>
Group administrator
Tue 03 Oct 2006 02:24:58 PM UTC, comment #11: 

Modification of getrpcport() function in the file "getrpcpo.c" on the ACPLT_ONCRPC module.

Adding of a formatting data affected by pmap_getport() function and return.

This allow to have a NULL (0) value return.

the change is commit in "getrpcpo.c"
and the file which call this function too : "tsp_server.c" in the tsp_provider module.

Alan <pratal>
Group Member
Mon 02 Oct 2006 10:32:22 AM UTC, comment #10: 
Eric NOULARD <erk>
Group administrator
Thu 28 Sep 2006 01:15:04 PM UTC, comment #9: 

The function "basename" does not exits under Windows

I code in an external new project TspWin32 these functionnality under Windows (using _splitpath function).

The getopt function is also added to this project to have a new library which provide Windows emulation of Unix function.

The project TspWin32 is not commit yet.

Alan <pratal>
Group Member
Thu 28 Sep 2006 09:41:47 AM UTC, comment #8: 

The functionnalities like sigaction, sigfillset, sigemptyset, getitimer, setitimer, etc. does not exist under Windows like under UNIX. These functionnalities have to be code under Windows.

These links present how to code the same fonctionnalities under Windows that exits on UNIX :

for sigaction :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnucmg/html/UCMGch09.asp

for setitmer and getittimer :
http://www.pennmush.org/docs/1.8.0/html/timer_8c-source.html

Actually these functionnalities are not implemented under Windows

Alan <pratal>
Group Member
Thu 28 Sep 2006 09:29:42 AM UTC, comment #7: 

The function "getopt" does not exits under Windows

An example with source code purpose this fonction under Windows, the URL is : http://dickey.his.com/c_count/c_count.html

In the porting part of the example, I use the getopt.c et .h files which provide the getopt function.

The source code is in the public domain.

Alan <pratal>
Group Member
Thu 28 Sep 2006 09:08:02 AM UTC, comment #6: 

Remarks:

Under Visual Studio, to have a DLL with its library, the source code must implements some exports (__declspec(dllexport)).

Alan <pratal>
Group Member
Tue 26 Sep 2006 03:22:45 PM UTC, comment #5: 
Eric NOULARD <erk>
Group administrator
Thu 24 Aug 2006 02:14:06 PM UTC, comment #4: 

One side solution that could be interesting too, is that there's a cross compiler suite available under gentoo: dev-util/xmingw-gcc, dev-util/xmingw-binutils.
We maybe able to generate DLL's available for Windows development directly from Linux.
This could be the right long-term solution [I mean that we maybe shouldn't focus on it right now], as we may be able to ship regular Windows updates without resorting to a full Windows dev environment.

Frederik Deweerdt <deweerdt>
Group administrator
Thu 24 Aug 2006 02:06:41 PM UTC, comment #3: 
Eric NOULARD <erk>
Group administrator
Thu 27 Jul 2006 06:33:30 AM UTC, comment #2: 

Je pense que pour faciliter le portage il serait très utile
de créer un jeu de sources de tests sommaires qui contiennent
les appels de fonctions (systèmes  et libc) essentiels au portage.

je mets en vrac ce qui je pense serait utile, mais il faudrait
passer en revue les sources pour être sûr.

- pthread_create
- pthread_join
- pthread_detach
- pthread_mutex_lock/unlock
- tout autre pthread_*

- gethostname
- gethostbyname
- gethostbyaddr

- les fonctions BB
  shared memory
  semaphore
  message queue

Je pense qu'il "suffirait" de créer un répertoire
tsp/port qui pourrait être compilé de façon autonome
avec son propre CMakeLists.txt
et qui contienne

tsp_port.x == un IDL ONC-RPC minimal avec 2 fonctions
tsp_port_consumer.c = un main pseudo-consumer faisant 1 appel RPC
tsp_port_provider.c = un main pseudo-provider faisant 1 appel RPC
tsp_port_bb_target.c = un main definissant les quelques fonctions de struct bb_operations (bb_core.h)

Le but c'est que ces sources soient "moins" compliquées
que ceux de TSP et permettent de se concentrer sur les
pb de portage.

A voir si c'est utile ou non...


Eric NOULARD <erk>
Group administrator
Tue 25 Jul 2006 03:21:43 PM UTC, comment #1: 

Je mets Alan pour la réalisation sachant qu'a priori
il ne commencera qu'à partir du 7 août.

Fred en support principal (je t'ajoute en CC)

Eric NOULARD <erk>
Group administrator
Mon 24 Jul 2006 01:12:31 PM UTC, original submission:  

There is a growing need of TSP on the Windows platform.
The port has been discussed privately by several TSP Team
member.

The task will be started soon, be sure...

Eric NOULARD <erk>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11002:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-doxy.diff added by erk (28KiB - text/x-patch - tsp/src/doxy diff)
file #10998:  tsp-cvs-25juil2006-vs-tsp-win32-r204-tests.diff added by erk (44KiB - text/x-patch - tsp/tests diff)
file #10997:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-scripts.diff added by erk (17KiB - text/x-patch - tsp/src/scripts diff)
file #10996:  CMakeLists.txt added by erk (18KiB - text/plain - tsp/CMakeList.txt)
file #10995:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-consumers.diff added by erk (84KiB - text/x-patch - tsp/src/consumers diff)
file #10994:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-providers.diff added by erk (31KiB - text/x-patch - tsp/src/providers diff)
file #10993:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-util.diff added by erk (38KiB - text/x-patch - tsp/src/util diff)
file #10992:  tsp-cvs-25juil2006-vs-tsp-win32-r204-src-core.diff added by erk (174KiB - text/x-patch - tsp/src/core diff)
file #10991:  tsp-cvs-25juil2006-vs-tsp-win32-r204-make.diff added by erk (11KiB - text/x-patch - tsp/make diff )
file #10960:  install_tsp_win32-license.png added by erk (24KiB - image/png - Accept License Win32 installer)

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by erk (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 24 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-01-25 erk Discussion LockNone Locked
    2006-10-20 erk Open/ClosedOpen Closed
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-doxy.diff, #11002
    2006-10-18 erk StatusIn Progress Ready For Test
        Percent Complete90% 100%
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-tests.diff, #10998
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-scripts.diff, #10997
    2006-10-18 erk Attached File- Added CMakeLists.txt, #10996
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-consumers.diff, #10995
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-providers.diff, #10994
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-util.diff, #10993
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-src-core.diff, #10992
    2006-10-18 erk Attached File- Added tsp-cvs-25juil2006-vs-tsp-win32-r204-make.diff, #10991
    2006-10-13 erk Percent Complete50% 90%
        Attached File- Added install_tsp_win32-license.png, #10960
    2006-09-26 erk Should be Finished on2006-09-29 2006-10-14
        Percent Complete20% 50%
    2006-08-24 erk StatusDesign In Progress
        Percent Complete0% 20%
    2006-07-25 erk Carbon-Copy- Added -email is unavailable-
    2006-07-25 erk Carbon-Copy- Added erk
    2006-07-25 erk Assigned toNone pratal
        Dependencies- Depends on task #5615
        Carbon-Copy- Added deweerdt

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code