bogdanpolak / bogdanpolak/command-delphi

Async Command - property ThreadSafeObject

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Pascal
Stars
29
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```pas
type TAsyncCommand = class(TCommand)
property ThreadSafeObject: TObject
read GetThreadSafeObject
write SetThreadSafeObject;
```
```pas
function TAsyncCommand GetThreadSafeObject: TObject;
begin
TMonitor.Enter(Self);
try
Result := fThreadSafeObject;
finally
TMonitor.Exit(Self);
end;
end;
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate TAsyncCommand and its TCommand base, then inspect the existing GetThreadSafeObject and SetThreadSafeObject entry points. The issue names no files or tests; done should mean the ThreadSafeObject property is available with the intended synchronized access shown in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.