What happen to public and static var after your merge?
One process will corrupt value to another?

-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Lorenzo Fiorini
Inviato: venerdì 31 ottobre 2008 8.20
A: Harbour Project Main Developer List.
Oggetto: [Harbour] One executable 500 threads

Our desktop application "suite" is made by these modules:

- Accounting
- Business ( sales, purchases, inventory, ... )
- CRM
- Reporting
- List prices
- Job management

they share large part of the code and are always built together.
We wanted different executable to have different windows so that every
user can have the needed mix of the modules opened at the same time.

Now we have MT also for GT, so the first thing I would like to try is
to put all the modules in the same executable and add a paramater to
run the wanted module:
f.e. from acc.exe, crm.exe, bus.exe to suite.exe -acc suite.exe -crm
-suite.exe -bus

as far as I understand this will not change anything but we'll have
only one exe to deploy.
Is it true?

Next step.

Our executables are also rpc servers, this means that 100 users x 6
modules gives 300-600 TCP ports opened depending on usage mix.

Is it insane to think about having only one executable with only one
TCP port that manage 500 completely isolated threads?
I mean every thread with its 100 tables opened all the vars allocated and so on?

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to