Is FLRE thread safe?? #80

Open
opened 2021-08-09 06:01:19 +00:00 by TommiPrami · 2 comments
TommiPrami commented 2021-08-09 06:01:19 +00:00 (Migrated from github.com)

IF I do Following:

...
GFLRE := TFLRE.Create(C_REG_EXP_STRING):
...

Thread 1:
GFLRE.MartchAll(StringDataOFThread1Contect)

Thread 2:
GFLRE.MartchAll(StringDataOFThread2Contect)

So multiple thread would share TFLRE instance but would run it on data in threads own context.

IF I do Following: ... GFLRE := TFLRE.Create(C_REG_EXP_STRING): ... Thread 1: GFLRE.MartchAll(StringDataOFThread1Contect) Thread 2: GFLRE.MartchAll(StringDataOFThread2Contect) So multiple thread would share TFLRE instance but would run it on data in threads own context.
BeRo1985 commented 2021-08-09 07:40:50 +00:00 (Migrated from github.com)

Yes, it should. This is also the reason, why whole the TFLREThreadLocalStorageInstance stuff exists.

Yes, it should. This is also the reason, why whole the TFLREThreadLocalStorageInstance stuff exists.
TommiPrami commented 2021-08-09 07:42:48 +00:00 (Migrated from github.com)

If you could, put this on the readme.md, valuable information.

Thanks man!

-Tee-

On Mon, Aug 9, 2021 at 10:41 AM Benjamin Rosseaux @.***>
wrote:

Yes, it should. This is also the reason, why whole the
TFLREThreadLocalStorageInstance stuff exists.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BeRo1985/flre/issues/80#issuecomment-895015988, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7E2H7RLVYQF3O7IEJM2TTT36BA3ANCNFSM5BZKQM5Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

If you could, put this on the readme.md, valuable information. Thanks man! -Tee- On Mon, Aug 9, 2021 at 10:41 AM Benjamin Rosseaux ***@***.***> wrote: > Yes, it should. This is also the reason, why whole the > TFLREThreadLocalStorageInstance stuff exists. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/BeRo1985/flre/issues/80#issuecomment-895015988>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AA7E2H7RLVYQF3O7IEJM2TTT36BA3ANCNFSM5BZKQM5Q> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email> > . >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BeRo1985/flre#80
No description provided.