History log of /libuv/src/unix/darwin.c (Results 51 – 75 of 76)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 0635e297 26-Mar-2013 Ben Noordhuis

unix, windows: remove ngx-queue.h

Avoids an extra #include in public headers and stops the ngx_queue_*
types and macros from leaking into user code.

# dac5a758 06-Mar-2013 Ben Noordhuis

unix: replace volatile cast with ACCESS_ONCE macro

# e89aced8 24-Feb-2013 Ben Noordhuis

darwin: implement uv_set_process_title, part 2

Make changes to the process title visible to tools like `ps`.

The argv clobber technique is reasonably portable across Unices;
the

darwin: implement uv_set_process_title, part 2

Make changes to the process title visible to tools like `ps`.

The argv clobber technique is reasonably portable across Unices;
the common code has been moved into src/unix/proctitle.c and is used
on Linux and OS X. Other platforms will probably follow in the future.

show more ...

# 14eb8b03 24-Feb-2013 Ben Noordhuis

darwin: implement uv_set_process_title, part 1

Apply undocumented Carbon magic to change the process title in a way
that's visible in the Activity Monitor.

Revision tags: node-v0.8.19, node-v0.9.10, node-v0.9.7, node-v0.9.6
# 339033af 06-Jan-2013 Ben Noordhuis

unix: use uv__hrtime() internally

This commit renames the various uv_hrtime() implementations to uv__hrtime().

Libuv uses the high-res timer internally in performance-critical code

unix: use uv__hrtime() internally

This commit renames the various uv_hrtime() implementations to uv__hrtime().

Libuv uses the high-res timer internally in performance-critical code paths.
Calling the non-public version avoids going through the PLT when libuv is
compiled as a shared object.

The exported uv_hrtime() now has a single definition in src/unix/core.c that
calls uv__hrtime().

A future optimization is to lift the uv__hrtime() declarations into header
files so they can be inlined at the call sites. Then again, linking with -flto
should accomplish the same thing.

show more ...

Revision tags: node-v0.9.4, node-v0.8.17, node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1
# 1282d648 22-Aug-2012 Ben Noordhuis

unix: remove dependency on libev

# a7cedbe2 07-Nov-2012 Ben Noordhuis

darwin: fix uv_hrtime() thread safety issue

# 9c7ae2e7 02-Nov-2012 Ben Noordhuis

darwin: don't use deprecated AbsoluteToNanoseconds

# 97c527ac 25-Oct-2012 Leonard Hecker

darwin: make it possible to compile for iOS

Relocate the include of TargetConditionals.h and fixe the use of
TARGET_OS_IPHONE. Furthermore, uv__fsevents_init() and uv__fsevents_close are

darwin: make it possible to compile for iOS

Relocate the include of TargetConditionals.h and fixe the use of
TARGET_OS_IPHONE. Furthermore, uv__fsevents_init() and uv__fsevents_close are
now empty functions for iOS, since the FSEvents API is not available there.

show more ...

Revision tags: node-v0.8.8, node-v0.8.7
# f8e7513a 13-Aug-2012 Fedor Indutny

darwin: use FSEvents to watch directory changes

# 894b0fc0 17-Aug-2012 Ben Noordhuis

unix: move platform init out of loop.c

Move platform-specific initialization logic out of loop.c and into the
platform files (freebsd.c, sunos.c, etc).

Revision tags: node-v0.8.6, node-v0.8.5, node-v0.6.21, node-v0.8.3, node-v0.9.0, node-v0.8.2, node-v0.8.1, node-v0.8.0
# aec320b7 25-Jun-2012 Xidorn Quan

darwin: get cpu model correctly on mac

Revision tags: node-v0.7.12, node-v0.7.11, node-v0.7.10, node-v0.6.19, node-v0.7.9, node-v0.6.18, node-v0.6.16, node-v0.6.17, node-v0.7.8, node-v0.6.15
# 637d976c 05-Apr-2012 Ben Noordhuis

Revert "Fix memory leak in uv_exepath() on OSX."

This reverts commit f6c8e78db973a0f57424dba74c97fdd4d2f910f8.

realpath() on OS X 10.5 crashes if resolved_path == NULL.

Revision tags: node-v0.6.14, node-v0.6.13, node-v0.7.6, node-v0.6.12
# f6c8e78d 23-Feb-2012 Frank Denis

Fix memory leak in uv_exepath() on OSX.

Revision tags: node-v0.6.11, node-v0.7.4, node-v0.6.10, node-v0.7.2, node-v0.6.9, node-v0.7.1, node-v0.7.0, node-v0.6.8, node-v0.6.7, node-v0.6.6, node-v0.6.4, node-v0.6.3, node-v0.6.2, node-v0.6.1
# 3cbe7c3f 10-Nov-2011 Daisuke Murase

Fixes for iOS

replace AbsoluteToNanoseconds to alternate implementation in uv_hrtime when
target OS is iOS which does not have CoreServices.framework

Fixes #243

# 3d189de6 13-Dec-2011 Igor Zinkovsky

platform api

Revision tags: node-v0.6.0, node-v0.5.10
# d3967992 21-Oct-2011 Ben Noordhuis

Change return type of uv_get_*_memory() functions

... from double to uint64_t. Limit use of floating point in public API as much
as possible.

Revision tags: node-v0.5.9
# b590e121 04-Oct-2011 Ryan Dahl

Fix darwin build

Revision tags: node-v0.5.8
# 8e9a3384 22-Sep-2011 Ben Noordhuis

unix: implement kqueue file watcher API

kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags int

unix: implement kqueue file watcher API

kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags intact.

show more ...

# a35591bb 01-Oct-2011 Fedor Indutny

os: implement loadavg (not working on cygwin/win)

# 33cb8775 01-Oct-2011 Fedor Indutny

os: implement memory bindings

* us_get_free_memory
* us_get_total_memory

# 23796d20 27-Sep-2011 Erick Tryzelaar

Fixes #76. Unify OS error reporting

As a nice fringe benefit, this also shaves a word
off of a windows TCP handle by replacing "uv_err_t
bind_error" with "int bind_error".

# 7e8645d1 22-Sep-2011 Erick Tryzelaar

unix,win: Make uv_freeaddrinfo to clean up addrinfo

Fixes #196

# 3368d6c1 22-Sep-2011 Ben Noordhuis

unix: stub file watcher implementation

The file watcher API has not been implemented on all Unices yet.
Provide stubs on those platforms so libuv at least compiles.

Revision tags: node-v0.5.7, node-v0.5.6
# a52a2c78 04-Sep-2011 Ryan Dahl

Fix warning on darwin

1234