• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

crossbeamパッケージ


RSS
Rev. Time Author
d669ffa 2019-04-05 23:48:18 bors[bot]

Merge #320

320: Implement PartialEq and Eq for channels r=stjepang a=Thomasdezeeuw

Currently for the never receiver always returns false as it is not
possible to determine if two receivers are equal using the current
structure.

I've added a test to compare never receivers, but it is disabled as it
currently doesn't pass.

Closes #319.

Co-authored-by: Thomas de Zeeuw <thomasdezeeuw@gmail.com>

796c4fe 2019-04-05 23:35:50 Thomas de Zeeuw

Rename same_channel to identical_to

Renaming the test file in the process.

914b1ee 2019-04-04 17:14:06 Thomas de Zeeuw

Remove unneeded main from examples

147b5b9 2019-04-04 17:14:06 Thomas de Zeeuw

Add test of same_channel with different channel flavours

580755a 2019-04-04 17:14:06 Thomas de Zeeuw

Move same_channel tests to own file

31eb1ce 2019-04-04 17:14:06 Thomas de Zeeuw

Run Rustfmt

04ed61a 2019-04-04 17:14:06 Thomas de Zeeuw

Move note about never channels and same_channel to the method

1281da9 2019-04-04 17:14:06 Thomas de Zeeuw

Implement same_channel for Sender and Receiver

Returns true if the senders send to or receivers receive from the same channel.

Closes #319.

9768aa7 2019-03-26 08:16:42 Vi Jay Suskind

crossbeam-channel: Remove dependency on smallvec

0bd562c 2019-03-17 18:44:01 bors[bot]

Merge #344

344: Added select7 test r=stjepang a=danitello



Co-authored-by: danitello <danitellod@gmail.com>

3edc493 2019-03-17 12:07:55 danitello

Added select7 test

5e773ad 2019-03-14 21:29:08 bors[bot]

Merge #343

343: Add Test sieve1 r=stjepang a=YangKeao

Add a test for `crossbeam-channel` according to go channel test [sieve1](https://github.com/golang/go/blob/master/test/chan/sieve1.go)

Co-authored-by: Yang Keao <keao.yang@yahoo.com>
Co-authored-by: YangKeao <keao.yang@yahoo.com>

9466a13 2019-03-14 21:19:53 Yang Keao

Run cargo fmt

172857b 2019-03-14 20:24:04 YangKeao


Restore deleted TODO

ce374aa 2019-03-14 20:20:17 Yang Keao

Add Test sieve1

536b83d 2019-03-11 04:32:34 bors[bot]

Merge #341

341: Add minimal versions check to travis r=stjepang a=taiki-e

Related: https://github.com/crossbeam-rs/crossbeam/issues/312, https://github.com/rust-lang/cargo/issues/5657

Co-authored-by: Taiki Endo <te316e89@gmail.com>

8c20ae9 2019-03-11 03:51:45 Taiki Endo

Add minimal versions check to travis

73081c0 2019-03-10 22:44:22 bors[bot]

Merge #340

340: fix comment r=stjepang a=matklad

This `+ 1` is what distinguishes already fully written slot from a free or partially written slot

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>

1dda6ca 2019-03-10 22:07:16 Aleksey Kladov


fix comment

This `+ 1` is what distinguishes already fully written slot from a free or partially written slot

1f8ccb1 2019-03-06 02:06:41 bors[bot]

Merge #339

339: Fix syntax in two doctests and un-ignored one r=jeehoonkang a=rvolgers



Co-authored-by: Ronald Volgers <rvolgers@users.noreply.github.com>

84877bf 2019-03-06 01:34:35 Ronald Volgers

Fix syntax in two doctests and un-ignored one

e9a9366 2019-03-01 16:36:10 bors[bot]

Merge #337

337: Release `RefEntry` when dropping `Entry` r=stjepang a=topecongiro

This PR fixes #273. ~in the case where you are using `clear`. The memory leak still persists when you use `Entry::remove()`~. EDIT: both cases are fixed with https://github.com/crossbeam-rs/crossbeam/commit/a6de0ca23b5364d2acc876f6e3d74cb8ab4d7b4a.

I find that when creating a new `Entry`, a reference counter to the node gets incremented, but the counter won't get decremented when `Entry` gets dropped. This could be why garbage were not collected, though I am not entirely sure if it is right. Looking forward to see reviews from the crossbeam maintainers.

Thank you for creating great piece of code and documentation. It was very fun to read both of them.

Co-authored-by: topecongiro <seuchida@gmail.com>
Co-authored-by: Seiichi Uchida <seiichi.uchida@dena.com>

46c8b53 2019-03-01 10:51:13 Seiichi Uchida

Call check_guard in decrement_with_pin

Make sure that the guard used belongs to the same instance as the one
used by the skip list.

d07e0eb 2019-03-01 10:47:42 Seiichi Uchida

Fix a typo

3f1390d 2019-03-01 08:00:15 topecongiro

Optimization: pin the thread only when the reference count is 0

7f4f564 2019-02-28 23:30:09 topecongiro

Replace ManuallyDrop::take with ManuallDrop::into_inner

a6de0ca 2019-02-28 19:50:10 Seiichi Uchida

Decrement a ref count of node while iterating skiplist

a007025 2019-02-28 19:10:52 Seiichi Uchida

Use ManuallyDrop instead of mem::transmute and mem::replace combo

8dd9e9b 2019-02-28 01:46:33 topecongiro

Release `RefEntry` when dropping `Entry`

062972b 2019-02-28 01:46:33 topecongiro

Implement `release()` without `K: Ord` restriction