aai-institute / aai-institute/pyDVL

Implement flags for parallel backends

Đang mở
#554 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
146
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Something like:

```python
flag: ParallelFlag = parallel_backend.make_flag()
flag.set()
assert flag.is_set() == True
```
I don't think it's necessary to generalize to arbitrary values with get/set.

This would be used to signal workers to stop.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.