Skip to content

Windows Port #1779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Windows Port #1779

wants to merge 3 commits into from

Conversation

compnerd
Copy link
Member

This set of changes allows building for windows. There are some implementations and some things which can be cleaned up, but, this at least identifies the areas that we need to fix up.

Unify the behaviour across macOS and Linux, FreeBSD to use
pthread_mutex_t when CFLock is used.  This will allow us to remove
references to pthread_mutex_{lock,unlock} which makes CoreFoundation
easier to port to Windows.
Replace some pthread_mutex_lock and pthread_mutex_unlock with __CFLock
and __CFUnlock respectively.  Replace instances of pthread_mutex_t with
__CFLock.  This reduces the explicit dependency on pthread, permitting
porting CoreFoundation to other theading models (e.g. Windows).
This allows CF to be built for windows.  The dependencies are curl, icu,
and libxml2.
@compnerd
Copy link
Member Author

Superseded by #1783. The patches have been formalized and extended. They can still deal with a bit of clean up, but I think that there is no longer any value in this reference work.

@compnerd compnerd closed this Nov 24, 2018
@compnerd compnerd deleted the winport branch November 16, 2019 00:42
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.

1 participant