Initial commit: Original Python LLMTester project

This commit is contained in:
2025-10-03 01:11:39 -04:00
commit ac5204e93a
54 changed files with 11911 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
Write a thread-safe counter class in Swift using an `actor`.
The actor should be named `SafeCounter`. It must have a private property to hold the current count and two public methods:
1. `func increment() async`
2. `func getCount() async -> Int`
Also, provide a simple example of how to create an instance of the actor and call its methods concurrently from two different `Task`s.