Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XE7 bug fix update?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Apr 10, 2015 8:41 AM Last Post By: William Egge
William Egge

Posts: 98
Registered: 11/29/06
XE7 bug fix update?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 23, 2014 11:52 AM
Is there a time-frame to fix bugs in XE7? At the moment the Threading library is not ready for production and I would really like to use it.
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: XE7 bug fix update?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2014 1:11 PM   in response to: William Egge in response to: William Egge
Am 23.10.2014 20:52, schrieb William Egge:
Is there a time-frame to fix bugs in XE7? At the moment the Threading library is not ready for production and I would really like to use it.

Hello,

I guess you've found out by now that update 1 is already available now.

Greetings

Markus
William Egge

Posts: 98
Registered: 11/29/06
Re: XE7 bug fix update?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2014 6:52 PM   in response to: Markus Humm in response to: Markus Humm
Yes Thanks. But it still has bugs.

The following code hangs. The workaround is the put a Wait(1) just before requesting the value in the case of the Future or in the case of the Task add a Wait(1) just before the Wait; It seems there must be a small delay before calling wait or Value.

procedure TForm2.Button1Click(Sender: TObject);
var
  F: IFuture<string>;
  I: Integer;
begin
  for I := 0 to 10000 do
  begin
    F:= TTask.Future<string>(
      function :string
      begin
        Result:= 'whichichta';
      end
    );
    F.Value;
  end;
end;
 
procedure TForm2.Button2Click(Sender: TObject);
var
  T: ITask;
  I: Integer;
begin
  for I := 0 to 10000 do
  begin
    T:= TTask.Create(
      procedure
      begin
      end
    );
    T.Start;
    T.Wait;
  end;
end;

Markus Humm wrote:
Am 23.10.2014 20:52, schrieb William Egge:
Is there a time-frame to fix bugs in XE7? At the moment the Threading library is not ready for production and I would really like to use it.

Hello,

I guess you've found out by now that update 1 is already available now.

Greetings

Markus

Edited by: William Egge on Dec 1, 2014 6:52 PM
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: XE7 bug fix update? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 2, 2014 1:37 PM   in response to: William Egge in response to: William Egge
Am 02.12.2014 03:53, schrieb William Egge:
Yes Thanks. But it still has bugs.

The following code hangs. The workaround is the put a Wait(1) just before requesting the value in the case of the Future or in the case of the Task add a Wait(1) just before the Wait; It seems there must be a small delay before calling wait or Value.

[snip demo of a bug]

Hello,

while I'm sorry that your issue seems not yet to be fixed in update 1 I
must say that nobody claimed that update 1 would fix all bugs present.

Did you check, that your issue is already being logged into either QC or
the new Quality Portal? If not please go ahead and log it!

Greetings

Markus
William Egge

Posts: 98
Registered: 11/29/06
Re: XE7 bug fix update?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 10, 2015 8:41 AM   in response to: William Egge in response to: William Egge
Bug still exists in XE8
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02