Windows compatibility

Merged
#5 · Created  · Last updated

Merged pull request

Merged in weltling/pecl-event (pull request #5)

b200b2e·Author: ·Closed by: ·2013-10-08

Description

Basic windows support done, 10 of the 12 tests pass for me. Both TS/NTS are fine. Still there might be something to do

  • the openssl support isn't provided by the current libevent distribution, so disabled in the ext

  • test failing ext\event\tests\02-features.phpt because of not supported features, not sure yet it's windows specific or some libevent build defect again

  • test ext\event\tests\11-gc-cycles.phpt still crashes on 5.4.5 where I've developed with the following BT

    ntdll.dll!RtlpWaitOnCriticalSection() Unknown ntdll.dll!RtlpEnterCriticalSectionContended() Unknown ntdll.dll!_RtlEnterCriticalSection@4?() Unknown

    php_event.dll!__event_debugx?() C php5ts.dll!zend_do_fcall_common_helper_SPEC(_zend_execute_data * execute_data, void * * tsrm_ls) Line 642 C php5ts.dll!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER(_zend_execute_data * execute_data, void * * tsrm_ls) Line 753 C php5ts.dll!execute(_zend_op_array * op_array, void * * tsrm_ls) Line 410 C php5ts.dll!zend_execute_scripts(int type, void * * tsrm_ls, _zval_struct * retval, int file_count, ...) Line 1280 C php5ts.dll!php_execute_script(_zend_file_handle * primary_file, void * * tsrm_ls) Line 2473 C php.exe!do_cli(int argc, char * argv, void * * tsrm_ls) Line 989 C php.exe!main(int argc, char * * argv) Line 1366 C

Of that all issues only the crashing one is bad. As i can see it's something with calling the callback from userspace, didn't dig deeper yet.

Cheers

Anatol

0 attachments

0 comments

Loading commits...