Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Is there lag time between creating and finding markers?
Is there lag time between creating and finding markers? [message #250480] Tue, 08 June 2004 13:50 Go to next message
Binyan is currently offline BinyanFriend
Messages: 23
Registered: July 2009
Junior Member
I have code that during its execution it creates markers which never
give any indication of marker creation failure, however right at that
run() completes I attempt to get the markers created and there should
always be 1 since this is a junit test. However, the same unmodified
code will sometimes return an IMarker[] of size 1 and other times of
size 0. There seems to be some type of concurrency issue, but I can't
see where that is. So is there something I should join() on from the
jobmanager that will gaunrantee that any resource synchronizations have
happened.

Binyan
Re: Is there lag time between creating and finding markers? [message #254760 is a reply to message #250480] Tue, 22 June 2004 19:00 Go to previous message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

No, that should work. As long as the markers aren't being created
directly by a background task such as a builder. If you have a JUnit
test case like this that fails, please enter a bug report.
--

Binyan wrote:
> I have code that during its execution it creates markers which never
> give any indication of marker creation failure, however right at that
> run() completes I attempt to get the markers created and there should
> always be 1 since this is a junit test. However, the same unmodified
> code will sometimes return an IMarker[] of size 1 and other times of
> size 0. There seems to be some type of concurrency issue, but I can't
> see where that is. So is there something I should join() on from the
> jobmanager that will gaunrantee that any resource synchronizations have
> happened.
>
> Binyan
Previous Topic:Several instance of a view limited to 2 in RCP
Next Topic:please, help me with persistent markers!!!!
Goto Forum:
  


Current Time: Sat Jul 27 16:44:57 GMT 2024

Powered by FUDForum. Page generated in 0.03360 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top