How to activate a subsystem before another one?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to activate a subsystem before another one?

Janko Mivšek
Hi all,

While improving an ImageLocker I'd like to activate it before the
InterestNotificationSystem, because this one then notifies all who set
dependencies to the event #returnFromSnapshot the old way, through the
ObjectMemory addDependent. That is, I'd like to lock an image before all
other user level subsystems start.

I set the WindowingSystem as a prerequisite now, which is before
InterestNotificationSystem on load order graph, but this doesn't help,
because some other subsystem (UUIDSystem) activates through its
requisites above mentioned InterestNotificationSystem too. And before
ImageLocker, which is not a desired effect.

So, how to control a load order more precisely, because just with
prerequisites is not enough?

Thanks and best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How to activate a subsystem before another one?

Julian Fitzell-4
Add a class extension method to InterestNotificationSystem and include a
<prerequisites> pragma. Take a look at e.g.
FinalizationSystem>>headlessPrerequisite for an example...

Julian

On 10-06-28 10:02 AM, "Janko Mivšek" <[hidden email]> wrote:

> Hi all,

While improving an ImageLocker I'd like to activate it before
> the
InterestNotificationSystem, because this one then notifies all who
> set
dependencies to the event #returnFromSnapshot the old way, through
> the
ObjectMemory addDependent. That is, I'd like to lock an image before
> all
other user level subsystems start.

I set the WindowingSystem as a
> prerequisite now, which is before
InterestNotificationSystem on load order
> graph, but this doesn't help,
because some other subsystem (UUIDSystem)
> activates through its
requisites above mentioned InterestNotificationSystem
> too. And before
ImageLocker, which is not a desired effect.

So, how to
> control a load order more precisely, because just with
prerequisites is not
> enough?

Thanks and best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk
> Web Application
> Server
http://www.aidaweb.si
_______________________________________________
v
> wnc mailing
> list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How to activate a subsystem before another one?

Janko Mivšek
Thanks Julian, it looks like I made a desired loading order with use of
that mysterious pragma approach as suggested by you.

Is there somewhere written more about how this actually works?

Best regards
Janko

On 28. 06. 2010 12:17, Julian Fitzell wrote:

> Add a class extension method to InterestNotificationSystem and include a
> <prerequisites> pragma. Take a look at e.g.
> FinalizationSystem>>headlessPrerequisite for an example...
>
> Julian
>
> On 10-06-28 10:02 AM, "Janko Mivšek" <[hidden email]> wrote:
>
>> Hi all,
>
> While improving an ImageLocker I'd like to activate it before
>> the
> InterestNotificationSystem, because this one then notifies all who
>> set
> dependencies to the event #returnFromSnapshot the old way, through
>> the
> ObjectMemory addDependent. That is, I'd like to lock an image before
>> all
> other user level subsystems start.
>
> I set the WindowingSystem as a
>> prerequisite now, which is before
> InterestNotificationSystem on load order
>> graph, but this doesn't help,
> because some other subsystem (UUIDSystem)
>> activates through its
> requisites above mentioned InterestNotificationSystem
>> too. And before
> ImageLocker, which is not a desired effect.
>
> So, how to
>> control a load order more precisely, because just with
> prerequisites is not
>> enough?
>
> Thanks and best regards
> Janko
>
>

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How to activate a subsystem before another one?

Bruce Boyer
Application Developer's Guide ch 9, Application Framework, Responding to
System Events.

----- Original Message -----
From: "Janko Mivšek" <[hidden email]>
To: "vwnc >> 'VWNC'" <[hidden email]>
Sent: Tuesday, June 29, 2010 2:28 AM
Subject: Re: [vwnc] How to activate a subsystem before another one?


> Thanks Julian, it looks like I made a desired loading order with use of
> that mysterious pragma approach as suggested by you.
>
> Is there somewhere written more about how this actually works?
>
> Best regards
> Janko
>
> On 28. 06. 2010 12:17, Julian Fitzell wrote:
>> Add a class extension method to InterestNotificationSystem and include a
>> <prerequisites> pragma. Take a look at e.g.
>> FinalizationSystem>>headlessPrerequisite for an example...
>>
>> Julian
>>
>> On 10-06-28 10:02 AM, "Janko Mivšek" <[hidden email]> wrote:
>>
>>> Hi all,
>>
>> While improving an ImageLocker I'd like to activate it before
>>> the
>> InterestNotificationSystem, because this one then notifies all who
>>> set
>> dependencies to the event #returnFromSnapshot the old way, through
>>> the
>> ObjectMemory addDependent. That is, I'd like to lock an image before
>>> all
>> other user level subsystems start.
>>
>> I set the WindowingSystem as a
>>> prerequisite now, which is before
>> InterestNotificationSystem on load order
>>> graph, but this doesn't help,
>> because some other subsystem (UUIDSystem)
>>> activates through its
>> requisites above mentioned InterestNotificationSystem
>>> too. And before
>> ImageLocker, which is not a desired effect.
>>
>> So, how to
>>> control a load order more precisely, because just with
>> prerequisites is not
>>> enough?
>>
>> Thanks and best regards
>> Janko
>>
>>
>
> --
> Janko Mivšek
> AIDA/Web
> Smalltalk Web Application Server
> http://www.aidaweb.si
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc