Skip to content

Conversation

@snwoods
Copy link
Contributor

@snwoods snwoods commented Feb 13, 2023

No description provided.

@snwoods snwoods force-pushed the private/stevenwo/CP-32622 branch from af658c3 to 3069337 Compare February 13, 2023 16:05
@psafont
Copy link
Member

psafont commented Feb 13, 2023

Please add polly dependency in the uniext opam metadata, it would be great to have unit tests for unixext as well

@psafont
Copy link
Member

psafont commented Feb 13, 2023

For the unit-tests you cna see how the list module is tested with a test binary:

https://github.com/xapi-project/stdext/blob/master/lib/xapi-stdext-std/listext_test.ml
and the duen metadata to be able to build it and run when tested:
https://github.com/xapi-project/stdext/blob/master/lib/xapi-stdext-std/dune#L6-L11

@snwoods snwoods force-pushed the private/stevenwo/CP-32622 branch from 3069337 to dbccd6d Compare February 13, 2023 16:40
@psafont
Copy link
Member

psafont commented Feb 13, 2023

Please separate the reformatting and the removal of select into different commits

Signed-off-by: Steven Woods <steven.woods@citrix.com>
@snwoods snwoods force-pushed the private/stevenwo/CP-32622 branch from dbccd6d to b098648 Compare February 13, 2023 17:25
Signed-off-by: Steven Woods <steven.woods@citrix.com>
Signed-off-by: Steven Woods <steven.woods@citrix.com>
@snwoods snwoods force-pushed the private/stevenwo/CP-32622 branch from b098648 to d2019b5 Compare February 14, 2023 13:40
ignore
@@ Polly.wait epoll 4 (-1) (fun _ file_desc event ->
(* Do the writing before the reading *)
if event = Polly.Events.out then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be simplified to if event = Polly.Events.out && a = file_desc then ... ;

This was referenced Nov 28, 2023
@edwintorok
Copy link
Contributor

Moved to xapi-project/xen-api#5402

@edwintorok edwintorok closed this Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants