Gareth Rees
91c2d03744
Prot_siginfo_good and prot_signal are no longer needed on os x.
...
Copied from Perforce
Change: 183101
ServerID: perforce.ravenbrook.com
2013-07-17 10:10:57 +01:00
Richard Brooksby
7cfcf30920
Fixing mentions of mps_size_t to just size_t in the manual. the former doesn't exist.
...
Copied from Perforce
Change: 183089
ServerID: perforce.ravenbrook.com
2013-07-16 16:10:47 +01:00
Gareth Rees
90e919b73c
Document ap creation requirements in terms of mps_ap_create_k, not the deprecated mps_ap_create.
...
Copied from Perforce
Change: 183073
ServerID: perforce.ravenbrook.com
2013-07-16 13:38:18 +01:00
Richard Brooksby
659e8dfede
Clarifying why ap protocol loops are very rare.
...
Copied from Perforce
Change: 183054
ServerID: perforce.ravenbrook.com
2013-07-16 11:12:16 +01:00
Gareth Rees
66590f18e9
Improve allocation example so that it demonstrate aligning up the size. explain why the mps doesn't do this for you. fix typo in scanning chapter.
...
Copied from Perforce
Change: 183051
ServerID: perforce.ravenbrook.com
2013-07-16 10:45:05 +01:00
Richard Brooksby
c012d80766
Fixing sacss failure introduced in changelist 183045. alignments are unpacked from varargs as promoted to size_t, but mps_pf_align is a naked number literal, and so was passed as int, causing a corrupt alignemnt failure in sacss.
...
Copied from Perforce
Change: 183048
ServerID: perforce.ravenbrook.com
2013-07-15 17:24:55 +01:00
Gareth Rees
6cedb9d2dc
Correct pass_count to fail_count in testrun.bat.
...
locbwcss shouldn't fail if there are non-contiguous allocations. Those are perfectly legitimate (MVFF uses CBS, which needs to allocate nodes in its splay tree).
Copied from Perforce
Change: 183047
ServerID: perforce.ravenbrook.com
2013-07-15 17:09:39 +01:00
Gareth Rees
f58f428605
Three test cases assumed that mps_pf_align is always equal to sizeof(void *), but this isn't true on platform w3i3mv where sizeof(void *) is 4 and mps_pf_align is 8. remove the assumption from these test cases.
...
Copied from Perforce
Change: 183045
ServerID: perforce.ravenbrook.com
2013-07-15 16:54:10 +01:00
Gareth Rees
b4f973a6bf
Improve reporting of test failures on windows, so that the continuous integration is helpful.
...
Copied from Perforce
Change: 183043
ServerID: perforce.ravenbrook.com
2013-07-15 16:39:22 +01:00
Gareth Rees
0a7c50fdfa
Avoid calling abort() on windows when running the test suite, so that the test suite doesn't get suspended waiting for someone to press a button.
...
Copied from Perforce
Change: 183041
ServerID: perforce.ravenbrook.com
2013-07-15 15:37:22 +01:00
Gareth Rees
fc933cebd1
It's no longer necessary to build the manual, but it is necessary to update the release notes.
...
Copied from Perforce
Change: 183010
ServerID: perforce.ravenbrook.com
2013-07-11 17:19:46 +01:00
Gareth Rees
bfbcdbabca
Bring release notes up to date.
...
Copied from Perforce
Change: 183008
ServerID: perforce.ravenbrook.com
2013-07-11 16:44:40 +01:00
Richard Brooksby
b873e52ac0
Added note about why we don't check that we're the only exception port before sending a reply.
...
Copied from Perforce
Change: 183006
ServerID: perforce.ravenbrook.com
2013-07-11 16:22:52 +01:00
Richard Brooksby
08c7ce947c
Adding missing #endif caused by merge error. oops.
...
Copied from Perforce
Change: 183004
ServerID: perforce.ravenbrook.com
2013-07-11 16:08:42 +01:00
Richard Brooksby
1cd1480122
Merging branch/2013-06-18/macosx-threads back to master.
...
Copied from Perforce
Change: 183002
ServerID: perforce.ravenbrook.com
2013-07-11 15:55:58 +01:00
Richard Brooksby
4a36041494
Adding awlutth to regular test cases on os x.
...
Copied from Perforce
Change: 183000
ServerID: perforce.ravenbrook.com
2013-07-11 15:53:59 +01:00
Richard Brooksby
1772a17e72
Documentation and commentary clarifications in response to code review < https://info.ravenbrook.com/mail/2013/07/11/13-17-56/0/ >.
...
Copied from Perforce
Change: 182999
ServerID: perforce.ravenbrook.com
2013-07-11 15:44:19 +01:00
Gareth Rees
f19d112a1a
Small fixes following review < https://info.ravenbrook.com/mail/2013/07/11/13-17-56/0/ >.
...
Copied from Perforce
Change: 182993
ServerID: perforce.ravenbrook.com
2013-07-11 14:17:17 +01:00
Gareth Rees
f8c90b565e
Changes from review < https://info.ravenbrook.com/mail/2013/07/10/14-38-35/0/ >.
...
Copied from Perforce
Change: 182986
ServerID: perforce.ravenbrook.com
2013-07-10 15:37:27 +01:00
Richard Brooksby
905c983569
Improving references to documentation and source code.
...
Copied from Perforce
Change: 182983
ServerID: perforce.ravenbrook.com
2013-07-10 14:12:46 +01:00
Richard Brooksby
01d17882e6
Reducing unnecessary copying of thread states by passing a pointer to the state in the mutator fault context.
...
Copied from Perforce
Change: 182980
ServerID: perforce.ravenbrook.com
2013-07-05 17:43:14 +01:00
Gareth Rees
eb02939d89
Fix typo: it's mps_build, not mps_builder.
...
Copied from Perforce
Change: 182943
ServerID: perforce.ravenbrook.com
2013-07-05 12:00:42 +01:00
Bruce Mitchener
9e2eef4fa0
Don't define _gnu_source if already defined.
...
When using the build method of including the MPS directly into
one's own sources, that build system may already define _GNU_SOURCE
causing a warning here about re-defining it.
Copied from Perforce
Change: 182941
ServerID: perforce.ravenbrook.com
2013-07-05 10:21:50 +01:00
Richard Brooksby
574a2eaaae
Fixing grammar problem in mps contributions agreement.
...
Adding link to guide.impl.c.format.
Copied from Perforce
Change: 182939
ServerID: perforce.ravenbrook.com
2013-07-05 10:04:47 +01:00
Richard Brooksby
bb56266b6e
Adding symlink from contributing to contributing.rst to make it easier to find for people used to the gnu conventions.
...
Copied from Perforce
Change: 182937
ServerID: perforce.ravenbrook.com
2013-07-05 09:57:06 +01:00
Richard Brooksby
47ce2b4627
Adding "contributing to the mps" that will show up on github pull requests.
...
Copied from Perforce
Change: 182936
ServerID: perforce.ravenbrook.com
2013-07-05 09:55:04 +01:00
Richard Brooksby
6e1eaf7dea
Enabling keyword expansion on new files.
...
Copied from Perforce
Change: 182934
ServerID: perforce.ravenbrook.com
2013-07-05 01:56:38 +01:00
Richard Brooksby
ec0739c878
Fixing a couple of comments that are out of date.
...
Copied from Perforce
Change: 182932
ServerID: perforce.ravenbrook.com
2013-07-05 01:53:51 +01:00
Richard Brooksby
7b99c420f4
Updating "signal handling issues" to "signal and exception handling issues" and documenting the situation with os x threading.
...
Copied from Perforce
Change: 182930
ServerID: perforce.ravenbrook.com
2013-07-05 01:09:29 +01:00
Richard Brooksby
09b3808c9e
Catch-up merge from master to macosx-threads branch.
...
Copied from Perforce
Change: 182928
ServerID: perforce.ravenbrook.com
2013-07-05 00:56:22 +01:00
Richard Brooksby
a4b67cf92a
Lots of tidying up, deleting unnecessary code, and adding documentation.
...
Copied from Perforce
Change: 182926
ServerID: perforce.ravenbrook.com
2013-07-05 00:36:13 +01:00
Richard Brooksby
30e439b2c5
Registering exception handler for each thread, rather than the whole task.
...
This avoids the need to forward exception messages to the debugger, since we can reasonably insist that we're the first handler in the chain for each thread.
Copied from Perforce
Change: 182925
ServerID: perforce.ravenbrook.com
2013-07-04 22:58:34 +01:00
Richard Brooksby
2241ede47d
Minor tidying and improved documentation in the leader comment.
...
Copied from Perforce
Change: 182924
ServerID: perforce.ravenbrook.com
2013-07-04 22:11:55 +01:00
Gareth Rees
240e9a894c
Move all signal handling issues to the "signal handling issues" section.
...
Copied from Perforce
Change: 182919
ServerID: perforce.ravenbrook.com
2013-07-04 15:12:21 +01:00
Gareth Rees
193cd50362
Valgrind is a better example of a library using sigusr1 and sigusr2 than linuxthreads (which seems to be defunct).
...
Copied from Perforce
Change: 182916
ServerID: perforce.ravenbrook.com
2013-07-04 14:59:45 +01:00
Gareth Rees
d7d8ffdacf
Warn users not to mask sigxcpu and sigxfsz.
...
Copied from Perforce
Change: 182901
ServerID: perforce.ravenbrook.com
2013-07-03 11:21:14 +01:00
Gareth Rees
d64998d656
Improve the clarity of the documentation of arena states by adding a summary table.
...
Copied from Perforce
Change: 182899
ServerID: perforce.ravenbrook.com
2013-07-03 10:43:39 +01:00
Richard Brooksby
cf0a17c78f
Fixing alloc_table in awlutth.c so that it doesn't allocate a bogus extra word. not sure how it got like this.
...
Copied from Perforce
Change: 182896
ServerID: perforce.ravenbrook.com
2013-07-02 19:18:16 +01:00
Nick Barnes
b860ecfa50
Back out changes to master mps sources made inadvertently during a branch change.
...
Copied from Perforce
Change: 182891
ServerID: perforce.ravenbrook.com
2013-07-02 15:53:46 +01:00
Nick Barnes
4afe5e9b6c
Branch for ap creation key development.
...
Copied from Perforce
Change: 182888
ServerID: perforce.ravenbrook.com
2013-07-02 14:48:25 +01:00
Richard Brooksby
5a25854918
Fixing minor linux build error left over from dl's debugging.
...
Copied from Perforce
Change: 182884
ServerID: perforce.ravenbrook.com
2013-07-01 20:51:21 +01:00
Richard Brooksby
79582c17db
Amcssth test was broken: didn't register the worker threads as roots, only created one worker thread, registered it twice. weird.
...
Copied from Perforce
Change: 182882
ServerID: perforce.ravenbrook.com
2013-07-01 20:04:30 +01:00
Gareth Rees
a86c3e469e
No need to compile arg.c separately: included in mps.c since change 181994.
...
Copied from Perforce
Change: 182877
ServerID: perforce.ravenbrook.com
2013-07-01 11:23:59 +01:00
Richard Brooksby
96448d34a9
Initial implementation of mac os x protection exception handling using mach.
...
Some threading tests get quite a long way.
Copied from Perforce
Change: 182872
ServerID: perforce.ravenbrook.com
2013-06-29 01:22:42 +01:00
Richard Brooksby
512dca47e2
Thread scanning for mac os x / mach, and the start of thread exception handling.
...
Copied from Perforce
Change: 182834
ServerID: perforce.ravenbrook.com
2013-06-22 09:02:35 +01:00
Richard Brooksby
ac028a5fd0
Mutator fault context definitions for os x using mach.
...
Copied from Perforce
Change: 182832
ServerID: perforce.ravenbrook.com
2013-06-22 00:54:50 +01:00
Richard Brooksby
c1e5ec8f38
Implementing os x (mach) threading module.
...
Copied from Perforce
Change: 182830
ServerID: perforce.ravenbrook.com
2013-06-21 23:57:07 +01:00
Gareth Rees
31008b07ca
Forgot to document thread-safety property of mps_ld_isstale_any.
...
Copied from Perforce
Change: 182818
ServerID: perforce.ravenbrook.com
2013-06-20 16:31:42 +01:00
Gareth Rees
e88bcc5184
Document the intention behind mps_ld_isstale rather than the implementation: it captures the intention of testing whether a particular dependency is stale (even though the implementation in fact tests whether any dependency is stale). add new function mps_ls_isstale_any for expressing the intention of testing whether any dependencey is stale. the two functions have the same implementation at present, but the separation gives us the freedom to return a more precise result from mps_ld_isstale in future.
...
Copied from Perforce
Change: 182816
ServerID: perforce.ravenbrook.com
2013-06-20 16:25:08 +01:00
Gareth Rees
408e6a1c24
Add #memorypoolsystem to contact page and to sidebar.
...
Copied from Perforce
Change: 182809
ServerID: perforce.ravenbrook.com
2013-06-19 15:35:31 +01:00