663 Commits

Author SHA1 Message Date
Thomas Quinot
09f87b571c Import Bank example from GLADE.
For G123-015
Prompted by IA28-001

Subversion-branch: /trunk/polyorb
Subversion-revision: 151510
2009-10-28 12:51:52 +00:00
Thomas Quinot
e26a93a96f Print out full exception information (not just exception names) for
exception
tests, to show the parition IDs in exception messages.
For I511-037

Subversion-branch: /trunk/polyorb
Subversion-revision: 143856
2009-05-12 10:48:03 +00:00
Thomas Quinot
ac02dc0348 Fix incorrect configuration name.
Subversion-branch: /trunk/polyorb
Subversion-revision: 143395
2009-04-28 13:16:05 +00:00
Thomas Quinot
b54a603102 Add test of IN OUT formal of a limited type in RCI unit.
For I422-024

Subversion-branch: /trunk/polyorb
Subversion-revision: 143259
2009-04-23 17:14:55 +00:00
Thomas Quinot
b0757e46af Add DSA examples to MANIFEST
Subversion-branch: /trunk/polyorb
Subversion-revision: 142915
2009-04-16 15:10:24 +00:00
Thomas Quinot
9bafbf14c2 Add an Ada 95 variant of the mailboxes example
For I415-015

Subversion-branch: /trunk/polyorb
Subversion-revision: 142914
2009-04-16 15:08:49 +00:00
Thomas Quinot
e1aa4aa566 Clean up stale files from old DSA demo.
Subversion-branch: /trunk/polyorb
Subversion-revision: 142911
2009-04-16 14:40:37 +00:00
Thomas Quinot
276d063aa8 Clean up old DSA demo.
Subversion-branch: /trunk/polyorb
Subversion-revision: 142910
2009-04-16 14:40:01 +00:00
Thomas Quinot
444141148b New DSA demo: simple inter-partition messaging, using RACW and Ada 2005
interfaces.
Prompted by I415-015.

----
date: 2009/04/16 15:27:16;  author: quinot;
Simple test case for AI05-060 remote interfaces (H401-016)

Subversion-branch: /trunk/polyorb
Subversion-revision: 142909
2009-04-16 14:38:56 +00:00
Thomas Quinot
2b7e25615b (All_Functions): Add the possibility to test local calls within the
server
partition, since they have different failure modes compared to real
remote
calls.
For HB25-017

Subversion-branch: /trunk/polyorb
Subversion-revision: 132810
2008-11-27 14:08:19 +00:00
Bob Duff
f85ab55590 Remove obsolete make files.
H829-022

Subversion-branch: /trunk/polyorb
Subversion-revision: 132303
2008-11-13 01:53:23 +00:00
Thomas Quinot
2af46d512f This mega-commit cleans up the task management circuitry in PolyORB.
This clean up aims at simplifying the processing, making it more robuts,
ensuring deadlock freedom and improving performance through the
reduction
of task switches.

Reorganization of request processing
------------------------------------

A Request_Job is not inconditionally queued anymore in the main
ORB controller job queue when the ORB receives an Execute_Request
message.

For the client case, the processing is done directly within the calling
task. There is no point in transferring control to another task in that
case, since the calling task will in any case remain in the ORB until
completion of the request.

For the server case, processing is immediately dispatched to the ORB
tasking policy, which can either queue the request (Thread_Pool case) or
hand it to the task responsible for processing it (Thread_Per_Request
and
Thread_Per_Session cases). A Request_Job is therefore queued only for
the
case where it will subsequently be picked up by an ORB task that is
meant
to execute it, and therefore Run_Request can be executed immediately
(without having to dispatch through the ORB tasking policy) at the point
where the Request_Job is actually run.

The profile of Run_Request is updated to allow executing this subprogram
in contexts where no Request_Job has been created.

Handling of dynamic task termination
------------------------------------

Dynamic tasks started in the full tasking profile need to be free'd
after
they terminate. A new dedicated Reaper task is introduced that takes
care
of that.

Cleanup
-------

The May_Poll task flag was always True and is removed.

The Runnable_Controller type was useless and is removed.

Duplicate_Request_Job is now useless and is removed.

TNs
---

This addresses the irregularity observed on H813-027 (need to borrow
transient tasks for upcalls when using Thread_Per_Request or
Thread_Per_Session) and some of the deadlock scenarios identified
on H813-026 (case of Thread_Pool with max_threads = 1).

The original motivation for this work is G510-007 (reorganization to
avoid doing upcalls in transient tasks) and H828-032 (assertion failed
when moving a permanent task to idle state).

Subversion-branch: /trunk/polyorb
Subversion-revision: 128602
2008-09-12 14:16:25 +00:00
Thomas Quinot
688559e679 Reduce delays for oneway tests.
Subversion-branch: /trunk/polyorb
Subversion-revision: 128601
2008-09-12 14:07:44 +00:00
Thomas Quinot
c3a462ef42 Remove junk Makefile
Subversion-branch: /trunk/polyorb
Subversion-revision: 128209
2008-08-29 15:36:57 +00:00
Thomas Quinot
2b7158647e Add Thread_Pool test application.
For H828-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 128207
2008-08-29 15:36:34 +00:00
Thomas Quinot
eac68025ef (echoUsequence): remove output so that timing measurements on calls to
this
routine can be used for performance evaluation.

Subversion-branch: /trunk/polyorb
Subversion-revision: 127697
2008-08-12 11:40:01 +00:00
Bob Duff
1b1453f881 Fix spelling of explicitly and implicitly in copyright headers by
running
update_headers.

Subversion-branch: /trunk/polyorb
Subversion-revision: 127282
2008-08-01 23:40:34 +00:00
Jérôme Hugues
2a58c1dc6a Generate certificates prior to running tests
Subversion-branch: /trunk/polyorb
Subversion-revision: 126370
2008-07-04 07:59:11 +00:00
Jérôme Hugues
d87dd1a862 Added setup file for the MIOP test, required after changes
for [H311-027]

Subversion-branch: /trunk/polyorb
Subversion-revision: 123085
2008-03-18 16:43:15 +00:00
Thomas Quinot
99d1881d28 Change weak external name of static configuration array to
__PolyORB_static_parameters
for better consistency with other PolyORB external symbols and
terminology.

For H131-017


----
date: 2008/03/06 14:12:31;  author: quinot;
The wrong file was accidentally committed in this change.
The RH should therefore also mention:
Removal of Parameters.Static from the default parameters sources.

Subversion-branch: /trunk/polyorb
Subversion-revision: 122742
2008-03-06 14:08:13 +00:00
Santiago Uruena
5cc632c636 Modifying property 'svn:ignore' to avoid showing files created by
support/reconfig.

Subversion-branch: /trunk/polyorb
Subversion-revision: 122726
2008-03-05 23:21:17 +00:00
Santiago Uruena
dda4b9beae Added new method for link-time configuration. Designed for embedded
systems.

See H131-017

Subversion-branch: /trunk/polyorb
Subversion-revision: 122725
2008-03-05 22:45:18 +00:00
Bob Duff
6a88c396c7 Remove 'in' on parameters (use implicit 'in') to match style.
Also fix other stylistics nits found by pre-commit checks.

Subversion-branch: /trunk/polyorb
Subversion-revision: 122691
2008-03-05 13:33:12 +00:00
Jérôme Hugues
a0602797bc Reorganize MIOP test: add a controller to check on the server side
that the requests are correctly processed.

For [H228-005]

----
date: 2008/06/09 15:08:18;  author: quinot;
TN is actually H228-015

Subversion-branch: /trunk/polyorb
Subversion-revision: 122654
2008-03-04 12:41:31 +00:00
Bob Duff
b369dad8da Shut down the server cleanly. That's more convenient for sanity testing.
It used to run forever.
Fixes H130-027.

Subversion-branch: /trunk/polyorb
Subversion-revision: 121371
2008-01-31 01:03:02 +00:00